Skip to content
Snippets Groups Projects
Verified Commit ba24b9b0 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove not working imports

parent 0c064500
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,6 @@ from typing import Any, List, Optional, Tuple ...@@ -2,7 +2,6 @@ from typing import Any, List, Optional, Tuple
import django.apps import django.apps
from django.http import HttpRequest from django.http import HttpRequest
from django.shortcuts import get_user_model
from dynamic_preferences.registries import preference_models from dynamic_preferences.registries import preference_models
...@@ -16,9 +15,6 @@ from .util.core_helpers import has_person ...@@ -16,9 +15,6 @@ from .util.core_helpers import has_person
from .util.sass_helpers import clean_scss from .util.sass_helpers import clean_scss
User = get_user_model()
class CoreConfig(AppConfig): class CoreConfig(AppConfig):
name = "aleksis.core" name = "aleksis.core"
verbose_name = "AlekSIS — The Free School Information System" verbose_name = "AlekSIS — The Free School Information System"
......
...@@ -2,7 +2,6 @@ from importlib import import_module ...@@ -2,7 +2,6 @@ from importlib import import_module
from typing import Any, List, Optional, Sequence, Tuple from typing import Any, List, Optional, Sequence, Tuple
import django.apps import django.apps
from django.contrib.auth import get_user_model
from django.contrib.auth.signals import user_logged_in, user_logged_out from django.contrib.auth.signals import user_logged_in, user_logged_out
from django.db.models.signals import post_migrate, pre_migrate from django.db.models.signals import post_migrate, pre_migrate
from django.http import HttpRequest from django.http import HttpRequest
...@@ -14,9 +13,6 @@ from spdx_license_list import LICENSES ...@@ -14,9 +13,6 @@ from spdx_license_list import LICENSES
from .core_helpers import copyright_years from .core_helpers import copyright_years
User = get_user_model()
class AppConfig(django.apps.AppConfig): class AppConfig(django.apps.AppConfig):
"""An extended version of DJango's AppConfig container.""" """An extended version of DJango's AppConfig container."""
def ready(self): def ready(self):
......
...@@ -10,7 +10,6 @@ from django.utils.translation import gettext_lazy as _ ...@@ -10,7 +10,6 @@ from django.utils.translation import gettext_lazy as _
from templated_email import send_templated_mail from templated_email import send_templated_mail
from .models import Notification
from .core_helpers import lazy_preference from .core_helpers import lazy_preference
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment