Closed pacahon closed 4 years ago
I don't understand what travis wants from me.
ERROR: /home/travis/build/macropin/django-registration/registration/tests/default_backend.py Imports are incorrectly sorted.
Locally isort doesn't complain about sort order anymore. I'll try to recreate PR without push force.
Default registration form based on
django.contrib.auth.forms.UserCreationForm
which saves active user to db. This PR prevents it and moves user saving toregistration.models.RegistrationManager.create_inactive_user
.It is up to the developer to maintain this behavior in case of a custom registering form. Especially when custom form omit the save method since the default
UserModel().objects.create_user
implementation also saves user to db.