Source

django-admin-tools / admin_tools / dashboard / templatetags / admin_tools_dashboard_tags.py

Author Commit Message Labels Comments Date
zhir...@gmail.com
Fix error 'MultipleObjectsReturned: get() returned more than one DashboardPreferences -- it returned 2!' on user login twice and simultaniously there can be two entries of preferences created.
David Jean Louis
Added a dashboard_id field to DashboardPreferences to distinguish preferences among various dashboards (fixes #43)
Mikhail Korobov
Dasboard modules id generation is moved to Python level and can now be customized.
David Jean Louis
Create empty preferences instance if user has no preferences saved yet. This should fix the possible race condition problem, as reported on issue #61.
David Jean Louis
Completed support for multiple admin sites
Mikhail Korobov
Example for custom AppIndexDashboard is fixed
David Jean Louis
Implemented dashboard module groups, groups support "tabs", "accordion" and "stacked" layout
David Jean Louis
avoid a useless ajax GET request for retrieving dashboard preferences
David Jean Louis
Move the menu and dashboard template dirs in a "admin_tools" directory to avoid name conflicts with other apps, for example: django-cms (see: http://github.com/digi604/django-cms-2.0/issues/issue/397/).
David Jean Louis
added some docstrings + fixed pyflakes warnings
David Jean Louis
add support for django-staticfiles (fixes issue #21), thanks @dstufft.
Donald Stufft
Added support for django-staticfiles STATIC_URL settings. Falls back to MEDIA_URL
David Jean Louis
fixed issue #2: template tag libraries have generic names