django-fluent-dashboard documentation

34
django-fluent-dashboard Documentation Release 0.3.0dev Diederik van der Boor January 06, 2017

Upload: others

Post on 04-Feb-2022

65 views

Category:

Documents


0 download

TRANSCRIPT

django-fluent-dashboardDocumentation

Release 0.3.0dev

Diederik van der Boor

January 06, 2017

Contents

1 Installation 31.1 Django configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Configuration 52.1 Icon settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.2 Application grouping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.3 CMS integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3 Optional dependencies 93.1 Cache status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93.2 RSS feeds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4 Advanced customization 114.1 Changing the dashboard layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.2 Changing the menu layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.3 Available classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

5 Other related applications 135.1 django-admin-tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.2 django-admin-user-stats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.3 django-admin-tools-stats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.4 collowayproject/dashboardmods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

6 API documentation 156.1 fluent_dashboard.dashboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156.2 fluent_dashboard.modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.3 fluent_dashboard.menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.4 fluent_dashboard.items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.5 fluent_dashboard.appgroups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

7 Preview 21

8 Icon credits 23

9 Indices and tables 25

Python Module Index 27

i

ii

django-fluent-dashboard Documentation, Release 0.3.0dev

The fluent_dashboard module offers a custom admin dashboard, built on top of django-admin-tools (docs).

The django-admin-tools provides a default mechanism to replace the standard Django admin homepage with a widgetbased dashboard. The fluent_dashboard module extends this, by providing additional widgets (called “mod-ules”) such as:

• a “icon list” module for the admin homepage.

• a “welcome” module for the admin homepage.

• a configurable module layout for the admin homepage, through settings.py.

• a “return to site” link.

Contents:

Contents 1

django-fluent-dashboard Documentation, Release 0.3.0dev

2 Contents

CHAPTER 1

Installation

This package can be installed using pip:

pip install django-fluent-dashboard

This should automatically install django-admin-tools 0.4.1 as well. The 0.4.1 release is required to use Django 1.3.

1.1 Django configuration

To enable the dashboard in Django, both the fluent_dashboard and the admin_tools modules have to be added tosettings.py:

INSTALLED_APPS += ('fluent_dashboard',

'admin_tools', # for staticfiles in Django 1.3'admin_tools.theming','admin_tools.menu','admin_tools.dashboard','django.contrib.admin',

)

Note: The admin_tools.theming and admin_tools.menu applications are optional.

Next, the django-admin-tools can be configured to use the fluent_dashboard instead, by using:

ADMIN_TOOLS_INDEX_DASHBOARD = 'fluent_dashboard.dashboard.FluentIndexDashboard'ADMIN_TOOLS_APP_INDEX_DASHBOARD = 'fluent_dashboard.dashboard.FluentAppIndexDashboard'ADMIN_TOOLS_MENU = 'fluent_dashboard.menu.FluentMenu'

That’s all! The Django admin dashboard should open now with the dashboard, configured with sane defaults.

Next:

• The application groups and icons can be customized with additional configuration.

• The Memcache and Varnish statistics can also be displayed by configuring some optional dependencies.

3

django-fluent-dashboard Documentation, Release 0.3.0dev

4 Chapter 1. Installation

CHAPTER 2

Configuration

A quick overvivew of the available settings:

from django.utils.translation import ugettext_lazy as _

# Icon settings

FLUENT_DASHBOARD_ICON_THEME = 'oxygen'

FLUENT_DASHBOARD_APP_ICONS = {'cms/page': 'internet-web-browser.png','auth/user': 'system-users.png','auth/group': 'resource-group.png','sites/site': 'applications-internet.png','google_analytics/analytics': 'view-statistics.png','registration/registrationprofile': 'list-add-user.png'# ...

}

FLUENT_DASHBOARD_DEFAULT_ICON = 'unknown.png'

# Application grouping:

FLUENT_DASHBOARD_APP_GROUPS = ((_('CMS'), {

'models': ('*cms*.*','fiber.*',

),'module': 'CmsAppIconList','collapsible': False,

}),(_('Interactivity'), {

'models': ('django.contrib.comments.*','form_designer.*''threadedcomments.*','zinnia.*',

),}),(_('Administration'), {

'models': (

5

django-fluent-dashboard Documentation, Release 0.3.0dev

'django.contrib.auth.*','django.contrib.sites.*','google_analytics.*','registration.*',

),}),(_('Applications'), {

'models': ('*',),'module': 'AppList','collapsible': True,

}),)

# CMS integration:

FLUENT_DASHBOARD_CMS_PAGE_MODEL = ('cms', 'page')

FLUENT_DASHBOARD_CMS_APP_NAMES = ('*cms*', # wildcard match; DjangoCMS, FeinCMS'fiber', # Django-Fiber

)

FLUENT_DASHBOARD_CMS_MODEL_ORDER = {'page': 1,'object': 2,'layout': 3,'content': 4,'file': 5,'site': 99

}

The icon names/paths are parsed in the following way:

• When the icon is an absolute URL, it is used as-is.

• When the icon contains a slash, it is relative from the STATIC_URL.

• When the icon has no slashes, it’s relative to the theme url folder (typicallySTATIC_URL/ecms_dashboard/themename/),

2.1 Icon settings

2.1.1 FLUENT_DASHBOARD_ICON_THEME

The icon theme defines which folder is used to find the icons. This allows to easily switch between icon sets withouthaving to update all settings. The current theme is “Oxygen”, which is freely available from KDE. You may use theicons under the LGPL 3 license.

2.1.2 FLUENT_DASHBOARD_APP_ICONS

A dictionary of the app/model, and the associated icon. For a few commonly know applications, icons are alreadyprovided. Any key defined in settings.py overrides the default.

6 Chapter 2. Configuration

django-fluent-dashboard Documentation, Release 0.3.0dev

2.1.3 FLUENT_DASHBOARD_DEFAULT_ICON

In case a suitable icon is not found, this icon is used.

2.2 Application grouping

2.2.1 FLUENT_DASHBOARD_APP_GROUPS

The application groups to display at the dashboard. Each tuple has a title, and dictionary which can have the followingfields:

• models: which models should be included. Simple pattern based filtering is provided by fnmatch().

• collapsible: whether the group can be collapsed to a single line. Default is False for all elements to reduceclutter.

• module: which dashboard module can be used. Possible values are:

• AppList (the default from django-admin-tools).

• AppIconList

• CmsAppIconList

• any other class, specified as full module.ClassName syntax.

By default, there is a section for “CMS”, “Interactivity” and “Administration” filled with known Django applications.

The * selector without any application name, is special: it matches all applications which are not placed in any othergroups.

2.3 CMS integration

2.3.1 FLUENT_DASHBOARD_CMS_PAGE_MODEL

The model used to display a link to the CMS pages. The value is a tuple of application name, and model name. Thisis used in the welcome text of the PersonalModule. For some known CMS applications, this value is already setto a sane default.

2.3.2 FLUENT_DASHBOARD_CMS_APP_NAMES

A list of patterns to define which applications should be considered as “CMS” applications. Theseapplications are sorted on top in the CmsAppIconList and CmsModelList classes. The defaultFLUENT_DASHBOARD_APP_GROUPS also uses this setting to fill the “CMS” category.

2.3.3 FLUENT_DASHBOARD_CMS_MODEL_ORDER

A dictionary of modelname: ordering items, to sort the models of CMS applications in a custom order. This can beused for example, to display the pages model first, and the files/images models next.

2.2. Application grouping 7

django-fluent-dashboard Documentation, Release 0.3.0dev

8 Chapter 2. Configuration

CHAPTER 3

Optional dependencies

The installation of django-fluent-dasbboard can be extended with a few modules.

3.1 Cache status

When the collowayproject/dashboardmods package is installed and configured, the dashboard uses it to display Mem-cache and Varnish statistics for superusers.

First install the package:

pip install dashboardmods

An example configurtion looks like:

INSTALLED_APPS += ('dashboardmods',

)

# Example Memcache configuration:CACHES = {

'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache','KEY_PREFIX': 'mysite.production','LOCATION': '127.0.0.1:11211','TIMEOUT': 24*3600,

},}

# Optional, example Varnish configuration:VARNISH_MANAGEMENT_ADDRS = ('127.0.0.1:6082',)

When a cache is not configured, it will simply not be displayed by the CacheStatusGroup module.

3.2 RSS feeds

The RSS feeds configured by the collowayproject/dashboardmods package will also be displayed at the dashboard.This requires the feedparser module. Install it using:

pip install feedparser

9

django-fluent-dashboard Documentation, Release 0.3.0dev

10 Chapter 3. Optional dependencies

CHAPTER 4

Advanced customization

For advanced dashboard or menu layouts beyond the normal settings, the classes provided by this package (and addi-tionally django-admin-tools) can be overwritten.

4.1 Changing the dashboard layout

To change the widget layout, extend the FluentIndexDashboard class and create the new module layout in the__init__() or init_with_context() function.

The custom dashboard class can be loaded by referencing them in either one of these settings:

• ADMIN_TOOLS_INDEX_DASHBOARD

• ADMIN_TOOLS_APP_INDEX_DASHBOARD

Any existing classes from the fluent_dashboard.modules package could be reused off course.

See also:

When customizing the dashboard module layout, dont forget to look at the django-admin-tools package and otherapplications for additional modules to use. These packages have modules for RSS feeds, Varnish/Memcache status,and even tabbing/grouping items.

4.2 Changing the menu layout

The menu layout can be changed by extending the FluentMenu class, and overwriting theinit_with_context() function.

The custom menu class can be loaded by referencing it in the setting:

• ADMIN_TOOLS_MENU

4.3 Available classes

The fluent_dashboard app provides the following classes, which are suitable for overwriting them:

fluent_dashboard.dashboard: the custom dashboard classes:

• FluentIndexDashboard: the dashboard for the homepage.

• FluentAppIndexDashboard: the dashboard for the application index page.

11

django-fluent-dashboard Documentation, Release 0.3.0dev

fluent_dashboard.items: menu icons

• CmsModelList: a model list, with strong bias of sorting CMS applications on top.

• ReturnToSiteItem: a custom MenuItem class, with the “Return to site” link.

fluent_dashboard.menu: the menu classes.

• FluentMenu: a custom Menu implementation, which honors the FLUENT_DASHBOARD_APP_GROUPSsetting, and adds the ReturnToSiteItem.

fluent_dashboard.modules: custom widgets (called “modules”) to display at the dashboard.

• AppIconList: an AppList implementation that displays the models as icons.

• CmsAppIconList: an AppIconList variation with a strong bios towards sorting CMS applications on top.

• PersonalModule: a personal welcome text.

• CacheStatusGroup: the statistics of Memcache and Varnish.

12 Chapter 4. Advanced customization

CHAPTER 5

Other related applications

The following packages provide additional modules, which can be displayed at the dashboard:

5.1 django-admin-tools

Invaluable to forget, the django-admin-tools package also provides modules for:

• A bookmarks menu

• RSS feed module

• Tab grouping module

• Link list module

Website: https://bitbucket.org/izi/django-admin-tools/

5.2 django-admin-user-stats

The django-admin-user-stats package adds graphs to the dashboard, to see the number of registered users in the lastmonth.

Website: https://github.com/kmike/django-admin-user-stats

5.3 django-admin-tools-stats

Derived from django-admin-user-stats, this package adds configurable graphs for any model type. Different modeldata can be hooked in, for example, new user registrations, number of votes last month, etc..

• Website: https://github.com/Star2Billing/django-admin-tools-stats

5.4 collowayproject/dashboardmods

Initiated by the The Washington Times, this package adds status modules to the admin dashboard for:

• Varnish

• Memcached

13

django-fluent-dashboard Documentation, Release 0.3.0dev

When the dashboardmods package is installed, and added to the INSTALLED_APPS, theFluentIndexDashboard and CacheStatusGroup classed will automatically pick it up to display thecache status.

Website: https://github.com/callowayproject/dashboardmods

14 Chapter 5. Other related applications

CHAPTER 6

API documentation

Contents:

6.1 fluent_dashboard.dashboard

Custom dashboards for Django applications.

This package defines the following classes:

• FluentIndexDashboard

• FluentAppIndexDashboard

These classes need to be linked in settings.py to be loaded by django-admin-tools. Off course, you can alsoextend the classes, and use those names in the settings instead.

6.1.1 The FluentIndexDashboard class

class fluent_dashboard.dashboard.FluentIndexDashboard(**kwargs)A custom home screen for the Django admin interface.

It displays the application groups based on with FLUENT_DASHBOARD_APP_GROUPS setting. To activatethe dashboard add the following to your settings.py:

ADMIN_TOOLS_INDEX_DASHBOARD = 'fluent_dashboard.dashboard.FluentIndexDashboard'

The dashboard modules are instantiated by the following functions, which can be overwritten:

•get_personal_module()

•get_application_modules()

•get_recent_actions_module()

•get_rss_modules()

•get_cache_status_modules()

To have a menu which is consistent with the application groups displayed by this module, use the FluentMenuclass to render the admin_tools menu.

When overwriting this class, the elements can either be added in the __init__() method, or theinit_with_context() method. For more information, see the django-admin-tools documentation.

get_application_modules()

15

django-fluent-dashboard Documentation, Release 0.3.0dev

Instantiate all application modules (i.e. AppList, AppIconList and CmsAppIconList) for usein the dashboard.

get_cache_status_modules(request)Instantiate the CacheStatusGroup module for use in the dashboard.

This module displays the status of Varnish and Memcache, if the collowayproject/dashboardmods packageis installed and the caches are configured. By default, these modules are only shown for the superuser.

get_personal_module()Instantiate the PersonalModule for use in the dashboard.

get_recent_actions_module()Instantiate the RecentActions module for use in the dashboard.

get_rss_modules()Instantiate the RSS modules for use in the dashboard. This module displays the RSS feeds of the col-lowayproject/dashboardmods package, if it is installed, and configured.

6.1.2 The FluentAppIndexDashboard class

class fluent_dashboard.dashboard.FluentAppIndexDashboard(app_title, models,**kwargs)

A custom application index page for the Django admin interface.

This dashboard is displayed when one specific application is opened via the breadcrumb. It displays the modelsand recent actions of the specific application. To activate the dashboards add the following to your settings.py:

ADMIN_TOOLS_APP_INDEX_DASHBOARD = 'fluent_dashboard.dashboard.FluentAppIndexDashboard'

get_model_list_module()Instantiate a standard ModelList class to display the models of this application.

get_recent_actions_module()Instantiate the RecentActions module for use in the appliation index page.

6.2 fluent_dashboard.modules

Custom modules for the admin dashboard.

This package adds the following classes:

• AppIconList

• CmsAppIconList

• PersonalModule

• CacheStatusGroup

6.2.1 The AppIconList class

class fluent_dashboard.modules.AppIconList(title=None, **kwargs)The list of applications, icon style.

16 Chapter 6. API documentation

django-fluent-dashboard Documentation, Release 0.3.0dev

It uses the FLUENT_DASHBOARD_APP_ICONS setting to find application icons.

get_icon_for_model(app_name, model_name, default=None)Return the icon for the given model. It reads the FLUENT_DASHBOARD_APP_ICONS setting.

get_icon_url(icon)Replaces the “icon name” with a full usable URL.

•When the icon is an absolute URL, it is used as-is.

•When the icon contains a slash, it is relative from the STATIC_URL.

•Otherwise, it’s relative to the theme url folder.

icon_static_root = ‘/static/’The current static root (considered read only)

icon_theme_root = ‘/static/fluent_dashboard/oxygen/’The current theme folder (considerd read only)

init_with_context(context)Initializes the icon list.

template = ‘fluent_dashboard/modules/app_icon_list.html’Specify the template to render

6.2.2 The CmsAppIconList class

class fluent_dashboard.modules.CmsAppIconList(title=None, **kwargs)A variation of the AppIconList class with a strong bias towards sorting CMS apps on top.

init_with_context(context)Initializes the icon list.

6.2.3 The PersonalModule class

class fluent_dashboard.modules.PersonalModule(title=None, **kwargs)A simple module to display a welcome message.

6.2. fluent_dashboard.modules 17

django-fluent-dashboard Documentation, Release 0.3.0dev

It renders the template fluent_dashboard/modules/personal.html, unless the template vari-able is overwritten. The module overrides LinkList, allowing links to be added to the element. The FLU-ENT_DASHBOARD_CMS_PAGE_MODEL setting is used to display a link to the pages module. If this settingis not defined, a general text will be displayed instead.

cms_page_model = NoneThe model to use for the CMS pages link.

init_with_context(context)Initializes the link list.

template = ‘fluent_dashboard/modules/personal.html’Define the template to render

title = u’Welcome,’Define the title to display

6.2.4 The CacheStatusGroup class

class fluent_dashboard.modules.CacheStatusGroup(title=None, **kwargs)Display status modules for Varnish en Memcache, in a Group module.

This module is only displayed when the collowayproject/dashboardmods package is installed, added to theINSTALLED_APPS, and the caches are configured and reachable. For more information, see the optionaldependencies page.

display = ‘accordion’The default display mode, can be “tabs”, “stacked” or “accordion”

init_with_context(context)Initializes the status list.

title = u’System status’The default title

18 Chapter 6. API documentation

django-fluent-dashboard Documentation, Release 0.3.0dev

6.3 fluent_dashboard.menu

Custom menu for fluent_dashboard apps.

6.3.1 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 FLU-ENT_DASHBOARD_APP_GROUPS. By using both the FluentIndexDashboard and this class, the menuand dashboard modules at the admin index page will consistent. The ReturnToSiteItem is also added atthe 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.

6.4 fluent_dashboard.items

Additional menu items.

6.4.1 The CmsModelList class

class fluent_dashboard.items.CmsModelList(title=None, models=None, exclude=None,**kwargs)

A custom ModelList that displays menu items for each model. It has a strong bias towards sorting CMS appson top.

init_with_context(context)Initialize the menu.

6.4.2 The ReturnToSiteItem class

class fluent_dashboard.items.ReturnToSiteItem(title=None, url=None, **kwargs)A “Return to site” button for the menu. It redirects the user back to the frontend pages.

By default, it attempts to find the current frontend URL that corresponds with the model that’s being edited inthe admin ‘change’ page. If this is not possible, the default URL (/) will be used instead.

The menu item has a custom returntosite CSS class to be distinguishable between the other menu items.

get_edited_object(request)Return the object which is currently being edited. Returns None if the match could not be made.

get_object_by_natural_key(app_label, model_name, object_id)Return a model based on a natural key. This is a utility function for get_edited_object().

init_with_context(context)Find the current URL based on the context. It uses get_edited_object() to find the model, andcalls get_absolute_url() to get the frontend URL.

6.3. fluent_dashboard.menu 19

django-fluent-dashboard Documentation, Release 0.3.0dev

title = u’Return to site’Set the default title

url = ‘/’Set the default URL

6.5 fluent_dashboard.appgroups

Splitting and organizing applications and models into groups. This module is mostly meant for internal use.

fluent_dashboard.appgroups.get_application_groups()Return the applications of the system, organized in various groups.

These groups are not connected with the application names, but rather with a pattern of applications.

fluent_dashboard.appgroups.get_class(import_path)Import a class by name.

fluent_dashboard.appgroups.get_cms_model_order(model_name)Return a numeric ordering for a model name.

fluent_dashboard.appgroups.is_cms_app(app_name)Return whether the given application is a CMS app

fluent_dashboard.appgroups.sort_cms_models(cms_models)Sort a set of CMS-related models in a custom (predefined) order.

20 Chapter 6. API documentation

CHAPTER 7

Preview

21

django-fluent-dashboard Documentation, Release 0.3.0dev

22 Chapter 7. Preview

CHAPTER 8

Icon credits

By default, the dashboard uses the “Oxygen” icon theme, which is freely available from KDE. You mayuse the icons under the LGPL 3 license. To use a different icon theme (e.g. Tango), see the FLU-ENT_DASHBOARD_ICON_THEME setting in the Configuration section.

For more information about the Oxygen icon theme, see:

• http://www.oxyen-icons.org/

• http://techbase.kde.org/Projects/Oxygen/Licensing

The Oxygen icon theme can be downloaded from: http://download.kde.org/download.php?url=stable/4.7.3/src/oxygen-icons-4.7.3.tar.bz2.

23

django-fluent-dashboard Documentation, Release 0.3.0dev

24 Chapter 8. Icon credits

CHAPTER 9

Indices and tables

• genindex

• modindex

• search

25

django-fluent-dashboard Documentation, Release 0.3.0dev

26 Chapter 9. Indices and tables

Python Module Index

ffluent_dashboard.appgroups, 20fluent_dashboard.dashboard, 15fluent_dashboard.items, 19fluent_dashboard.menu, 19fluent_dashboard.modules, 16

27

django-fluent-dashboard Documentation, Release 0.3.0dev

28 Python Module Index

Index

AAppIconList (class in fluent_dashboard.modules), 16

CCacheStatusGroup (class in fluent_dashboard.modules),

18cms_page_model (fluent_dashboard.modules.PersonalModule

attribute), 18CmsAppIconList (class in fluent_dashboard.modules), 17CmsModelList (class in fluent_dashboard.items), 19

Ddisplay (fluent_dashboard.modules.CacheStatusGroup at-

tribute), 18

Ffluent_dashboard.appgroups (module), 20fluent_dashboard.dashboard (module), 15fluent_dashboard.items (module), 19fluent_dashboard.menu (module), 19fluent_dashboard.modules (module), 16FluentAppIndexDashboard (class in flu-

ent_dashboard.dashboard), 16FluentIndexDashboard (class in flu-

ent_dashboard.dashboard), 15FluentMenu (class in fluent_dashboard.menu), 19

Gget_application_groups() (in module flu-

ent_dashboard.appgroups), 20get_application_modules() (flu-

ent_dashboard.dashboard.FluentIndexDashboardmethod), 15

get_cache_status_modules() (flu-ent_dashboard.dashboard.FluentIndexDashboardmethod), 16

get_class() (in module fluent_dashboard.appgroups), 20get_cms_model_order() (in module flu-

ent_dashboard.appgroups), 20

get_edited_object() (flu-ent_dashboard.items.ReturnToSiteItemmethod), 19

get_icon_for_model() (flu-ent_dashboard.modules.AppIconList method),17

get_icon_url() (fluent_dashboard.modules.AppIconListmethod), 17

get_model_list_module() (flu-ent_dashboard.dashboard.FluentAppIndexDashboardmethod), 16

get_object_by_natural_key() (flu-ent_dashboard.items.ReturnToSiteItemmethod), 19

get_personal_module() (flu-ent_dashboard.dashboard.FluentIndexDashboardmethod), 16

get_recent_actions_module() (flu-ent_dashboard.dashboard.FluentAppIndexDashboardmethod), 16

get_recent_actions_module() (flu-ent_dashboard.dashboard.FluentIndexDashboardmethod), 16

get_rss_modules() (flu-ent_dashboard.dashboard.FluentIndexDashboardmethod), 16

Iicon_static_root (fluent_dashboard.modules.AppIconList

attribute), 17icon_theme_root (fluent_dashboard.modules.AppIconList

attribute), 17init_with_context() (flu-

ent_dashboard.items.CmsModelList method),19

init_with_context() (flu-ent_dashboard.items.ReturnToSiteItemmethod), 19

init_with_context() (fluent_dashboard.menu.FluentMenumethod), 19

29

django-fluent-dashboard Documentation, Release 0.3.0dev

init_with_context() (flu-ent_dashboard.modules.AppIconList method),17

init_with_context() (flu-ent_dashboard.modules.CacheStatusGroupmethod), 18

init_with_context() (flu-ent_dashboard.modules.CmsAppIconListmethod), 17

init_with_context() (flu-ent_dashboard.modules.PersonalModulemethod), 18

is_cms_app() (in module fluent_dashboard.appgroups),20

PPersonalModule (class in fluent_dashboard.modules), 17

RReturnToSiteItem (class in fluent_dashboard.items), 19

Ssort_cms_models() (in module flu-

ent_dashboard.appgroups), 20

Ttemplate (fluent_dashboard.modules.AppIconList at-

tribute), 17template (fluent_dashboard.modules.PersonalModule at-

tribute), 18title (fluent_dashboard.items.ReturnToSiteItem attribute),

19title (fluent_dashboard.modules.CacheStatusGroup at-

tribute), 18title (fluent_dashboard.modules.PersonalModule at-

tribute), 18

Uurl (fluent_dashboard.items.ReturnToSiteItem attribute),

20

30 Index