Removed activate grade URL pattern from Survey View.
authorLennard de Rijk <ljvderijk@gmail.com>
Wed, 01 Jul 2009 14:49:54 +0200
changeset 2472 def87d97596d
parent 2471 04f13163c1e8
child 2473 5cf0625dfa73
Removed activate grade URL pattern from Survey View. The remaining methods will be ported over in a patch from Ajaksu.
app/soc/views/models/survey.py
--- a/app/soc/views/models/survey.py	Wed Jul 01 14:42:54 2009 +0200
+++ b/app/soc/views/models/survey.py	Wed Jul 01 14:49:54 2009 +0200
@@ -112,9 +112,6 @@
     new_params['pickable'] = True
 
     new_params['extra_django_patterns'] = [
-        (r'^%(url_name)s/(?P<access_type>activate)/%(scope)s$',
-         'soc.views.models.%(module_name)s.activate',
-         'Activate grades for %(name)s'),
          (r'^%(url_name)s/(?P<access_type>json)/%(scope)s$',
          'soc.views.models.%(module_name)s.json',
          'Export %(name)s as JSON'),
@@ -955,6 +952,5 @@
 public = decorators.view(view.public)
 export = decorators.view(view.export)
 pick = decorators.view(view.pick)
-activate = decorators.view(view.activate)
 results = decorators.view(view.viewResults)
 json = decorators.view(view.exportSerialized)