Ticket #12864: patch.diff

File patch.diff, 461 bytes (added by anonymous, 5 years ago)
  • django/contrib/auth/models.py

     
    110110            user.set_password(password)
    111111        else:
    112112            user.set_unusable_password()
    113         user.save(using=self.db)
     113        user.save()
    114114        return user
    115115
    116116    def create_superuser(self, username, email, password):
Back to Top