1. Eddy Hung
  2. django-registration-15

Commits

"Edd...@gmail.com>"  committed a953ab2

solves some issues when custom create_user function are used

  • Participants
  • Parent commits 0d95a53
  • Branches default

Comments (0)

Files changed (1)

File registration/models.py

View file
  • Ignore whitespace
         user. To disable this, pass ``send_email=False``.
         
         """
-        new_user = User.objects.create_user(username, email, password)
+        new_user = User.objects.create_user(username=username, email=email, password=password)
         new_user.is_active = False
         new_user.save()