How it works...

The administration interface for the categories will have two modes, dependent upon the tree implementation used. For Materialized Path and Nested Sets trees, an advanced user interface is provided, as seen here:


This advanced view allows you to expand and collapse categories for a better overview, as has been done for Recipes and Prose. To reorder them or change the dependencies, you can drag and drop the titles. During reordering, the user interface looks similar to the following screenshot:


If you apply filtering or sorting of categories by a specific field, the advanced functionality is disabled, but the more attractive look and feel of the advanced interface remains. We can see this intermediate view here, where only categories created Today are shown:

However, if your tree uses the Adjacency List algorithm, a basic UI is provided with a less aesthetic presentation and none of the toggling or reordering functionality given in the advanced UI.

More details about the django-treebeard administration, including a screenshot of the basic interface, can be found in their documentation here https://django-treebeard.readthedocs.io/en/latest/admin.html.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.246.203