From 4a6a9e85adb1178d658799efd356b6a4453f78d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Larchev=C3=AAque?= Date: Wed, 25 Jan 2012 16:27:40 -0500 Subject: [PATCH 1/1] remove recent actions --- project/dashboard.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/project/dashboard.py b/project/dashboard.py index 1be4380..4bcbb6d 100644 --- a/project/dashboard.py +++ b/project/dashboard.py @@ -79,7 +79,7 @@ class CustomIndexDashboard(Dashboard): )) # append a recent actions module - self.children.append(modules.RecentActions(_('Recent Actions'), 5)) + #self.children.append(modules.RecentActions(_('Recent Actions'), 5)) class CustomAppIndexDashboard(AppIndexDashboard): @@ -101,11 +101,11 @@ class CustomAppIndexDashboard(AppIndexDashboard): # append a model list module and a recent actions module self.children += [ modules.ModelList(self.app_title,self.models), - modules.RecentActions( - _('Recent Actions'), - include_list=self.get_app_content_types(), - limit=5 - ) + #modules.RecentActions( + # _('Recent Actions'), + # include_list=self.get_app_content_types(), + # limit=5 + #) ] return @@ -152,8 +152,8 @@ class CustomAppIndexDashboard(AppIndexDashboard): )) # append a recent actions module - self.children.append(modules.RecentActions( - _('Recent Actions'), - include_list=self.get_app_content_types(), - limit=5 - )) + #self.children.append(modules.RecentActions( + # _('Recent Actions'), + # include_list=self.get_app_content_types(), + # limit=5 + #)) -- 1.7.10.4