Added a test GroupModule
This commit is contained in:
parent
ecccb4faf2
commit
fd99514404
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue