Added the Surveys Tasks to the registered URL patterns.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 11 Jul 2009 23:19:18 +0200
changeset 2597 b003cd9b954c
parent 2596 56924ec61cd2
child 2598 59ebf718c6a4
Added the Surveys Tasks to the registered URL patterns.
app/soc/modules/soc_core/callback.py
--- a/app/soc/modules/soc_core/callback.py	Sat Jul 11 23:18:52 2009 +0200
+++ b/app/soc/modules/soc_core/callback.py	Sat Jul 11 23:19:18 2009 +0200
@@ -21,6 +21,7 @@
   ]
 
 
+from soc.tasks import surveys as survey_tasks
 from soc.views.models import club
 from soc.views.models import club_app
 from soc.views.models import club_admin
@@ -103,6 +104,9 @@
     self.core.registerSitemapEntry(user_self.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(user.view.getDjangoURLPatterns())
 
+    # register task URL's
+    self.core.registerSitemapEntry(survey_tasks.getDjangoURLPatterns())
+
   def registerWithSidebar(self):
     """Called by the server when sidebar entries should be registered.
     """