summaryrefslogtreecommitdiff
path: root/app/lib/grappelli/templates/admin_tools/menu/menu.txt
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:37:52 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:37:52 -0400
commit52d5613672758ac6c8ebffc7f33d94d47bde6180 (patch)
tree0b6e1fbc4ed013b2ba701dedeb39be9781ff8204 /app/lib/grappelli/templates/admin_tools/menu/menu.txt
parentefb623af0bcb47d510501c282e1326b11343a29c (diff)
moved outside dependencies to virtualenv and dumped some unused apps out of lib
Diffstat (limited to 'app/lib/grappelli/templates/admin_tools/menu/menu.txt')
-rw-r--r--app/lib/grappelli/templates/admin_tools/menu/menu.txt32
1 files changed, 0 insertions, 32 deletions
diff --git a/app/lib/grappelli/templates/admin_tools/menu/menu.txt b/app/lib/grappelli/templates/admin_tools/menu/menu.txt
deleted file mode 100644
index 72d20da..0000000
--- a/app/lib/grappelli/templates/admin_tools/menu/menu.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-from django.core.urlresolvers import reverse
-from django.utils.translation import ugettext_lazy as _
-from admin_tools.menu import items, Menu
-
-# to activate your custom menu add the following to your settings.py:
-#
-# ADMIN_TOOLS_MENU = '{{ project }}.{{ file }}.CustomMenu'
-
-class CustomMenu(Menu):
- """
- Custom Menu for {{ project }} admin site.
- """
- def __init__(self, **kwargs):
- Menu.__init__(self, **kwargs)
- self.children.append(items.MenuItem(
- title=_('Dashboard'),
- url=reverse('admin:index')
- ))
- self.children.append(items.AppList(
- title=_('Applications'),
- models=('add.your.app.models.here',)
- ))
- self.children.append(items.AppList(
- title=_('Administration'),
- models=('django.contrib',)
- ))
-
- def init_with_context(self, context):
- """
- Use this method if you need to access the request context.
- """
- pass