# HG changeset patch # User Lennard de Rijk # Date 1247347158 -7200 # Node ID b003cd9b954c1fa42aeaeedf6a6ee4c93c741af5 # Parent 56924ec61cd2c6fc77fc4cf11a3b2c38b7f9a4f1 Added the Surveys Tasks to the registered URL patterns. diff -r 56924ec61cd2 -r b003cd9b954c 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. """