kopia lustrzana https://github.com/wagtail/wagtail
However, keep the logic for falling back to extracting panel definitions from the model class as snippets-specific. ModelViewSets are likely used with models that are more low-level and thus we want developers to explicitly define the fields that are editable in the admin, just like how Django's ModelForm works. |
||
|---|---|---|
| .. | ||
| contrib | ||
| pages | ||
| streamfield | ||
| hooks.md | ||
| index.md | ||
| jinja2.md | ||
| management_commands.md | ||
| panel_api.md | ||
| project_template.md | ||
| settings.md | ||
| signals.md | ||
| viewsets.md | ||