Enabled the GHOPStudent view in the GHOP module.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 15 Sep 2009 20:57:46 +0200
changeset 2923 2d0b36ef4330
parent 2922 6e373954bbf6
child 2924 6a096316f5c2
Enabled the GHOPStudent view in the GHOP module.
app/soc/modules/ghop/callback.py
--- a/app/soc/modules/ghop/callback.py	Tue Sep 15 20:54:40 2009 +0200
+++ b/app/soc/modules/ghop/callback.py	Tue Sep 15 20:57:46 2009 +0200
@@ -25,6 +25,7 @@
 from soc.modules.ghop.views.models import organization
 from soc.modules.ghop.views.models import org_admin
 from soc.modules.ghop.views.models import program
+from soc.modules.ghop.views.models import student
 from soc.modules.ghop.views.models import task
 from soc.modules.ghop.views.models import task_subscription
 from soc.modules.ghop.views.models import timeline
@@ -53,6 +54,7 @@
     self.core.registerSitemapEntry(organization.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(org_admin.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(program.view.getDjangoURLPatterns())
+    self.core.registerSitemapEntry(student.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(task.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(task_subscription.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(timeline.view.getDjangoURLPatterns())
@@ -73,6 +75,7 @@
     self.core.registerSidebarEntry(organization.view.getSidebarMenus)
     self.core.registerSidebarEntry(org_admin.view.getSidebarMenus)
     self.core.registerSidebarEntry(program.view.getSidebarMenus)
+    self.core.registerSidebarEntry(student.view.getSidebarMenus)
     self.core.registerSidebarEntry(task.view.getSidebarMenus)
     self.core.registerSidebarEntry(task_subscription.view.getSidebarMenus)
     self.core.registerSidebarEntry(timeline.view.getSidebarMenus)