1
0
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:
Tim Graham
2015-10-26 18:43:42 -04:00
parent 5acf203db2
commit 590b8c1c57
7 changed files with 9 additions and 30 deletions

View File

@@ -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'