Changed the method and variable name in student_proposal to match the access type.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 24 Feb 2009 19:43:51 +0000
changeset 1484 6b00a2a43eaf
parent 1483 f5d1229e9360
child 1485 430df988d395
Changed the method and variable name in student_proposal to match the access type. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/student_proposal.py
--- a/app/soc/views/models/student_proposal.py	Tue Feb 24 19:43:15 2009 +0000
+++ b/app/soc/views/models/student_proposal.py	Tue Feb 24 19:43:51 2009 +0000
@@ -94,7 +94,7 @@
         'soc.views.models.%(module_name)s.list_self',
         'List my %(name_plural)s'),
         (r'^%(url_name)s/(?P<access_type>list_orgs)/%(scope)s$',
-        'soc.views.models.%(module_name)s.list_org',
+        'soc.views.models.%(module_name)s.list_orgs',
         'List my %(name_plural)s')
     ]
 
@@ -173,7 +173,7 @@
 
   @decorators.merge_params
   @decorators.check_access
-  def listOrg(self, request, access_type,
+  def listOrgs(self, request, access_type,
              page_name=None, params=None, **kwargs):
     """Lists all organization which the given student can propose to.
 
@@ -224,7 +224,7 @@
 delete = view.delete
 edit = view.edit
 list = view.list
-list_org = view.listOrg
+list_orgs = view.listOrgs
 list_self = view.listSelf
 public = view.public
 export = view.export