Commit 6250c95d by Will Daly

Fix immutable querydict error

parent efec188b
...@@ -206,6 +206,7 @@ class RegistrationView(APIView): ...@@ -206,6 +206,7 @@ class RegistrationView(APIView):
# on the registration form. Now we rely on the client # on the registration form. Now we rely on the client
# to display this to users and validate that they # to display this to users and validate that they
# agree before making the request to this service. # agree before making the request to this service.
request.POST = request.POST.copy()
request.POST["honor_code"] = "true" request.POST["honor_code"] = "true"
request.POST["terms_of_service"] = "true" request.POST["terms_of_service"] = "true"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment