From fd99514404db18fa067cbad354d17b80e09fa8c0 Mon Sep 17 00:00:00 2001 From: David Jean Louis Date: Mon, 25 Feb 2013 16:32:11 +0100 Subject: [PATCH] Added a test GroupModule --- test_proj/dashboard.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test_proj/dashboard.py b/test_proj/dashboard.py index f38daa0..7263878 100644 --- a/test_proj/dashboard.py +++ b/test_proj/dashboard.py @@ -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): """