mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unnecessary app_label='auth' on auth_tests models.
This is a relic of when the tests were stored in contrib.auth.tests.
This commit is contained in:
@@ -5,9 +5,6 @@ from django.db import models
|
||||
class Email(models.Model):
|
||||
email = models.EmailField(verbose_name='email address', max_length=255, unique=True)
|
||||
|
||||
class Meta:
|
||||
app_label = 'auth'
|
||||
|
||||
|
||||
class CustomUserWithFKManager(BaseUserManager):
|
||||
def create_superuser(self, username, email, group, password):
|
||||
@@ -26,6 +23,3 @@ class CustomUserWithFK(AbstractBaseUser):
|
||||
|
||||
USERNAME_FIELD = 'username'
|
||||
REQUIRED_FIELDS = ['email', 'group']
|
||||
|
||||
class Meta:
|
||||
app_label = 'auth'
|
||||
|
||||
Reference in New Issue
Block a user