kopia lustrzana https://github.com/wagtail/wagtail
Wording change requested by Matthew Westcott
rodzic
2f43c10e6c
commit
950e77d2aa
|
@ -3,7 +3,7 @@
|
|||
=====================
|
||||
|
||||
The ``modeladmin`` module allows you to add any model in your project to the Wagtail admin. You can create customisable listing
|
||||
pages for a model, including plain Django models, and add navigation elements so that a model can be accessed directly from the Wagtail admin. Simply extend the ``ModelAdmin`` class, override a few attributes to suit your needs, register it with Wagtail using an easy one-line ``modeladmin_register`` method (you can copy and paste from the examples below), and you're good to go. This customisation doesn’t need to extend ``Page`` or be registered as a ``Snippet``, and it won’t interfere with any of the existing admin functionality that Wagtail provides.
|
||||
pages for a model, including plain Django models, and add navigation elements so that a model can be accessed directly from the Wagtail admin. Simply extend the ``ModelAdmin`` class, override a few attributes to suit your needs, register it with Wagtail using an easy one-line ``modeladmin_register`` method (you can copy and paste from the examples below), and you're good to go. Your model doesn’t need to extend ``Page`` or be registered as a ``Snippet``, and it won’t interfere with any of the existing admin functionality that Wagtail provides.
|
||||
|
||||
.. _modeladmin_feature_summary:
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue