fluent_dashboard.menu¶
Custom menu for fluent_dashboard apps.
The FluentMenu class¶
-
class
fluent_dashboard.menu.FluentMenu(**kwargs)¶ Custom Menu for admin site.
The top level menu items created by this menu reflect the application groups defined in FLUENT_DASHBOARD_APP_GROUPS. By using both the
FluentIndexDashboardand this class, the menu and dashboard modules at the admin index page will consistent. TheReturnToSiteItemis also added at the end of the menu.To activate the menu add the following to your settings.py:
ADMIN_TOOLS_MENU = 'fluent_dashboard.menu.FluentMenu'
-
init_with_context(context)¶ Initialize the menu items.
-