# HG changeset patch # User Sverre Rabbelier # Date 1249168930 25200 # Node ID ffabb3576744467eae78af3ecd948fd98f3f36fd # Parent 198926c38229697bce44f0875221343847a42529 Fix for copy/paste fail diff -r 198926c38229 -r ffabb3576744 app/soc/views/helper/redirects.py --- a/app/soc/views/helper/redirects.py Sat Aug 01 15:55:33 2009 -0700 +++ b/app/soc/views/helper/redirects.py Sat Aug 01 16:22:10 2009 -0700 @@ -220,7 +220,7 @@ return result def getAcceptProjectRedirect(entity, params): - """Returns the redirect for withdraw_project access type. + """Returns the redirect for accept_project access type. """ result = '/%s/accept_project/%s' % ( @@ -230,7 +230,7 @@ def getWithdrawProjectRedirect(entity, params): - """Returns the redirect for withdraw_project access type. + """Returns the redirect for withdraw access type. """ result = '/%s/withdraw_project/%s' % ( diff -r 198926c38229 -r ffabb3576744 app/soc/views/models/student_project.py --- a/app/soc/views/models/student_project.py Sat Aug 01 15:55:33 2009 -0700 +++ b/app/soc/views/models/student_project.py Sat Aug 01 16:22:10 2009 -0700 @@ -243,7 +243,7 @@ @decorators.check_access def withdraw(self, request, access_type, page_name=None, params=None, **kwargs): - """View that allows Program Admins to withdraw Students. + """View that allows Program Admins to accept or withdraw Students. For params see base.View().public() """ @@ -308,7 +308,7 @@ @decorators.check_access def acceptProject(self, request, access_type, page_name=None, params=None, **kwargs): - """View that allows Program Admins to withdraw Students. + """View that allows Program Admins to accept Students. For params see base.View().public()