Disable clubs for now
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 12 Feb 2009 20:13:27 +0000
changeset 1280 9a510b94cf22
parent 1279 f85ac8856dca
child 1281 b42088df3958
Disable clubs for now Disabling the clubs in this way is a lot easier than adding a switch for it in Site Settings, and probably safer too (as the urls are no longer valid). Patch by: Sverre Rabbelier
app/soc/views/sitemap/build.py
--- a/app/soc/views/sitemap/build.py	Thu Feb 12 12:58:26 2009 +0000
+++ b/app/soc/views/sitemap/build.py	Thu Feb 12 20:13:27 2009 +0000
@@ -48,11 +48,11 @@
 
 
 sidebar.addMenu(user_self.view.getSidebarMenus)
-sidebar.addMenu(club.view.getSidebarMenus)
-sidebar.addMenu(club.view.getExtraMenus)
-sidebar.addMenu(club_admin.view.getSidebarMenus)
-sidebar.addMenu(club_member.view.getSidebarMenus)
-sidebar.addMenu(club_app.view.getSidebarMenus)
+#sidebar.addMenu(club.view.getSidebarMenus)
+#sidebar.addMenu(club.view.getExtraMenus)
+#sidebar.addMenu(club_admin.view.getSidebarMenus)
+#sidebar.addMenu(club_member.view.getSidebarMenus)
+#sidebar.addMenu(club_app.view.getSidebarMenus)
 sidebar.addMenu(site.view.getSidebarMenus)
 sidebar.addMenu(user.view.getSidebarMenus)
 sidebar.addMenu(document.view.getSidebarMenus)
@@ -68,10 +68,10 @@
 sidebar.addMenu(mentor.view.getSidebarMenus)
 sidebar.addMenu(org_app.view.getSidebarMenus)
 
-sitemap.addPages(club.view.getDjangoURLPatterns())
-sitemap.addPages(club_admin.view.getDjangoURLPatterns())
-sitemap.addPages(club_app.view.getDjangoURLPatterns())
-sitemap.addPages(club_member.view.getDjangoURLPatterns())
+#sitemap.addPages(club.view.getDjangoURLPatterns())
+#sitemap.addPages(club_admin.view.getDjangoURLPatterns())
+#sitemap.addPages(club_app.view.getDjangoURLPatterns())
+#sitemap.addPages(club_member.view.getDjangoURLPatterns())
 sitemap.addPages(document.view.getDjangoURLPatterns())
 sitemap.addPages(host.view.getDjangoURLPatterns())
 sitemap.addPages(mentor.view.getDjangoURLPatterns())