Move reversing_urls.rst into a subdirectory with it's own index, and include that index in the modeladmin docs' main toctree

pull/5138/head^2
Andy Babic 2019-03-13 22:42:24 +00:00 zatwierdzone przez Matt Westcott
rodzic 9f2e4033ea
commit b2eee20e1b
3 zmienionych plików z 11 dodań i 7 usunięć

Wyświetl plik

@ -48,6 +48,7 @@ Want to know more about customising ``ModelAdmin``?
create_edit_delete_views
inspectview
chooseparentview
tips_and_tricks/index
.. _modeladmin_usage:
@ -222,10 +223,3 @@ the same ``wagtail_hooks.py`` file if you want. The example below will create
modeladmin_register(BookAdmin)
modeladmin_register(MovieAdmin)
modeladmin_register(MusicAdminGroup)
-------------------------
Additional Tips & Tricks
-------------------------
* To programatically generate URLs for any of your ``ModelAdmin`` views, see :ref:`modeladmin_reversing_urls`.

Wyświetl plik

@ -0,0 +1,10 @@
==========================
Additional tips and tricks
==========================
This section explores some of modeladmin's lesser-known features, and provides examples to help with modeladmin customisation. More pages will be added in future.
.. toctree::
:maxdepth: 1
reversing_urls