Skip to content

Commit

Permalink
#1081 accidentally commented something out
Browse files Browse the repository at this point in the history
  • Loading branch information
jbau committed Oct 11, 2012
1 parent ff9add4 commit 7c190ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/problemsets/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ def delete_exercise(request):
index += 1
return HttpResponseRedirect(reverse('problemsets.views.manage_exercises', args=(request.POST['course_prefix'], request.POST['course_suffix'], pset.slug,)))

#@require_POST
#@auth_is_course_admin_view_wrapper
@require_POST
@auth_is_course_admin_view_wrapper
def save_exercises(request):
#Function should only be accessed from submitting a form
if request.method != 'POST':
Expand Down

0 comments on commit 7c190ef

Please sign in to comment.