diff options
| author | Tim Graham <timograham@gmail.com> | 2015-10-26 18:43:42 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-10-27 08:19:45 -0400 |
| commit | 590b8c1c57217bd8bd33998bae490dbe3d09f045 (patch) | |
| tree | 721c1673bcd9c6535685cf9e142bd495db7ccb43 /tests/auth_tests/models/invalid_models.py | |
| parent | 5acf203db2e9562dbe4073bf85d5043ef3121ea9 (diff) | |
Removed unnecessary app_label='auth' on auth_tests models.
This is a relic of when the tests were stored in contrib.auth.tests.
Diffstat (limited to 'tests/auth_tests/models/invalid_models.py')
| -rw-r--r-- | tests/auth_tests/models/invalid_models.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auth_tests/models/invalid_models.py b/tests/auth_tests/models/invalid_models.py index eaaff2aa15..4e2307ea59 100644 --- a/tests/auth_tests/models/invalid_models.py +++ b/tests/auth_tests/models/invalid_models.py @@ -19,9 +19,6 @@ class CustomUserNonUniqueUsername(AbstractBaseUser): objects = UserManager() - class Meta: - app_label = 'auth' - class CustomUserNonListRequiredFields(AbstractBaseUser): "A user with a non-list REQUIRED_FIELDS" @@ -31,9 +28,6 @@ class CustomUserNonListRequiredFields(AbstractBaseUser): USERNAME_FIELD = 'username' REQUIRED_FIELDS = 'date_of_birth' - class Meta: - app_label = 'auth' - class CustomUserBadRequiredFields(AbstractBaseUser): "A user with a USERNAME_FIELD that appears in REQUIRED_FIELDS (invalid)" @@ -42,6 +36,3 @@ class CustomUserBadRequiredFields(AbstractBaseUser): USERNAME_FIELD = 'username' REQUIRED_FIELDS = ['username', 'date_of_birth'] - - class Meta: - app_label = 'auth' |
