As per code review, added note that accept_name_change is no longer being used.

This commit is contained in:
David Ormsbee
2012-10-18 12:22:44 -04:00
parent dbfa7bf03a
commit 3385e06304

View File

@@ -743,7 +743,12 @@ def accept_name_change_by_id(id):
@ensure_csrf_cookie
def accept_name_change(request):
''' JSON: Name change process. Course staff clicks 'accept' on a given name change '''
''' JSON: Name change process. Course staff clicks 'accept' on a given name change
We used this during the prototype but now we simply record name changes instead
of manually approving them. Still keeping this around in case we want to go
back to this approval method.
'''
if not request.user.is_staff:
raise Http404