Advanced
General
This section will cover some advanced concepts for defining your menu. The full menu definition technically consists of more than just what can be defined in the settings file. In total, there are 4 main sections of the menu. They are listed below and are rendered out in the order listed.
ADMINLTE2_MENU_FIRST
- Manually defined. Must be provided via a template context variable.ADMINLTE2_MENU
- Manually defined, via either the Django settings or a template context variable.Admin_Menu
- Automatically generated from installed Apps and models. Shown/hidden via a settings toggle. See Admin Menu for more details.ADMINLTE2_MENU_LAST
- Manually defined. Must be provided via a template context variable.
Note
In the below sections, the ADMINLTE2_MENU
section is generally referred
to as the “main menu”, with the other menu sections being supplementary to
support it.
Some of the topics here will include all 4 parts, while others will focus on only some of those parts. The advanced topics include: