1👍
Well the problem you face is that django-registration
expects a username as well as a password and an email address. As you can see in the source code of django-registration
If I were you I would simply create a simple form and use a FormView from django. After, in order to match django-registration you could do more research and try to fit django-registration with django-custom-user.
It could be that you create a class that inherits django-custom-user, or that you change the form or anything like that. Otherwise you could even fork django-registration and update it according to django-custom-user and then use it for your project and make it available on github as django-registration-custom-user
0👍
Have you tried python manage.py makemigrations
and python manage.py migrate
?
Also try displaying the form as form.as_p
in order to get all fields and all errors displayed automatically. Forget about CSS for now.
Also what package is registration.backends.default.urls
?
Because it is not django-custom-user
I hope this helps
- [Answer]-Manage.py migrate does not detect changes
- [Answer]-Modify db object field from .py file in django
- [Answer]-Is it possible to ignore a system check error in Django 1.7+
- [Answer]-Django OneToOneField deleting child doesn't set parents parameter as None?