app/soc/modules/soc_core/callback.py
changeset 2597 b003cd9b954c
parent 2586 283bb903b216
child 2605 8b017dad54cf
--- 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.
     """