Przeglądaj źródła

Add change_form_siblings_links documentation

Denis K 8 lat temu
rodzic
commit
a9fce7ce88
2 zmienionych plików z 14 dodań i 0 usunięć
  1. BIN
      docs/_static/change_form_sibling_links.png
  2. 14 0
      docs/config_file.rst

BIN
docs/_static/change_form_sibling_links.png


+ 14 - 0
docs/config_file.rst

@@ -133,6 +133,20 @@ If want to show all application's models use ``__all__`` keyword.
 
         python manage.py jet_custom_apps_example
 
+JET_CHANGE_FORM_SIBLING_LINKS
+-----------------------------
+
+.. image:: _static/change_form_sibling_links.png
+    :width: 100%
+
+Adds buttons to change forms that allows you to navigate to previous/next object without returning back to change list.
+Can be disabled if hit performance.
+
+.. code:: python
+
+    JET_CHANGE_FORM_SIBLING_LINKS = True
+
+Default is ``True``
 
 JET_INDEX_DASHBOARD
 -------------------