Fix immutable querydict error

This commit is contained in:
Will Daly
2014-10-17 16:06:40 -04:00
parent efec188b69
commit 6250c95d2e

View File

@@ -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"