Added a test GroupModule

This commit is contained in:
David Jean Louis 2013-02-25 16:32:11 +01:00
parent ecccb4faf2
commit fd99514404
1 changed files with 13 additions and 0 deletions

View File

@ -73,6 +73,19 @@ class CustomIndexDashboard(Dashboard):
},
]
))
self.children.append(modules.Group(
title=u'Test group',
children=[
modules.ModelList(
u'Tab 1',
['django.contrib.*']
),
modules.ModelList(
u'Tab 2',
['test_app.*']
),
]
))
def init_with_context(self, context):
"""