1👍
As of Django 1.5 there is no such form in the module django.contrib.auth.forms.
You might want to use an editor that would highlight such things for you. Such as PyCharm.
Still, point stands, you should have at least basic understanding of Python
to learn Django
. You see, the statements
class RegisterForm(UserCreationForm)
...
# And then:
form = RegisterForm(UserCreationForm)
Hardly make any sense from Python perspective.
You are writing Python code. In Python. You’ll have to learn Python. Yes, it is possible to go another way, but it is much harder.
Source:stackexchange.com