diff --git a/backend/seismic_site/settings.py b/backend/seismic_site/settings.py index 2326c6e6..9ac152f6 100644 --- a/backend/seismic_site/settings.py +++ b/backend/seismic_site/settings.py @@ -227,7 +227,7 @@ DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" -AUTH_USER_MODEL = 'users.User' +AUTH_USER_MODEL = "users.User" DJANGO_ADMIN_EMAIL = env.str("DJANGO_ADMIN_EMAIL") DJANGO_ADMIN_PASSWORD = env.str("DJANGO_ADMIN_PASSWORD") diff --git a/backend/users/admin.py b/backend/users/admin.py index 8c38f3f3..b97a94f6 100644 --- a/backend/users/admin.py +++ b/backend/users/admin.py @@ -1,3 +1,2 @@ -from django.contrib import admin # Register your models here. diff --git a/backend/users/models.py b/backend/users/models.py index 605b297d..3294eead 100644 --- a/backend/users/models.py +++ b/backend/users/models.py @@ -3,4 +3,4 @@ class User(AbstractUser): class Meta: - db_table = 'auth_user' # TODO: This will be changed back after the data migration + db_table = "auth_user" # TODO: This will be changed back after the data migration diff --git a/backend/users/tests.py b/backend/users/tests.py index 7ce503c2..49290204 100644 --- a/backend/users/tests.py +++ b/backend/users/tests.py @@ -1,3 +1,2 @@ -from django.test import TestCase # Create your tests here. diff --git a/backend/users/views.py b/backend/users/views.py index 91ea44a2..b8e4ee02 100644 --- a/backend/users/views.py +++ b/backend/users/views.py @@ -1,3 +1,2 @@ -from django.shortcuts import render # Create your views here.