Reputation: 8017
I have got a problem with registering user.
AttributeError at /users/register/
'WSGIRequest' object has no attribute 'get'
The code is here: https://github.com/matiit/pym/blob/master/docu/views.py line 62 form.is_valid() What am I doing wrong?
Upvotes: 0
Views: 905
Reputation: 50796
You are not initializing the form correctly, it should be:
form = UserCreationForm(data=request.POST)
Upvotes: 1