(self, email, password, date_of_birth, **fields)
| 43 | return user |
| 44 | |
| 45 | def create_superuser(self, email, password, date_of_birth, **fields): |
| 46 | u = self.create_user( |
| 47 | email, password=password, date_of_birth=date_of_birth, **fields |
| 48 | ) |
| 49 | u.is_admin = True |
| 50 | u.save(using=self._db) |
| 51 | return u |
| 52 | |
| 53 | |
| 54 | class CustomUser(AbstractBaseUser): |
nothing calls this directly
no test coverage detected