From 6250c95d2e31ed264f38bd940080c55c2d316dfb Mon Sep 17 00:00:00 2001 From: Will Daly Date: Fri, 17 Oct 2014 16:06:40 -0400 Subject: [PATCH] Fix immutable querydict error --- common/djangoapps/user_api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/djangoapps/user_api/views.py b/common/djangoapps/user_api/views.py index a35e4cf259..9a50a1966e 100644 --- a/common/djangoapps/user_api/views.py +++ b/common/djangoapps/user_api/views.py @@ -206,6 +206,7 @@ class RegistrationView(APIView): # on the registration form. Now we rely on the client # to display this to users and validate that they # agree before making the request to this service. + request.POST = request.POST.copy() request.POST["honor_code"] = "true" request.POST["terms_of_service"] = "true"