Commits

tejinderss  committed 8bb53ec

bug fix

  • Participants
  • Parent commits cf8c3e3

Comments (0)

Files changed (1)

File registration/models.py

         user. To disable this, pass ``send_email=False``.
 
         """
-        new_user = get_user_model().objects.create_user(email, password)
+        new_user = get_user_model().objects.create_user(username, email, password)
         if not active:
             new_user.is_active = False
             new_user.save()