Added the Surveys Tasks to the registered URL patterns.
--- 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.
"""