summaryrefslogtreecommitdiff
path: root/django/contrib/auth/base_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/auth/base_user.py')
-rw-r--r--django/contrib/auth/base_user.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/django/contrib/auth/base_user.py b/django/contrib/auth/base_user.py
index 5bb88ac4dd..f19b2d89b9 100644
--- a/django/contrib/auth/base_user.py
+++ b/django/contrib/auth/base_user.py
@@ -58,11 +58,8 @@ class AbstractBaseUser(models.Model):
def __str__(self):
return self.get_username()
- # RemovedInDjango60Warning: When the deprecation ends, replace with:
- # def save(self, **kwargs):
- # super().save(**kwargs)
- def save(self, *args, **kwargs):
- super().save(*args, **kwargs)
+ def save(self, **kwargs):
+ super().save(**kwargs)
if self._password is not None:
password_validation.password_changed(self._password, self)
self._password = None