Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actionsd59c5450f69e
diff --git a/wger/tasks.py b/wger/tasks.pyindex 8eca8f216..e3718d40b 100644--- a/wger/tasks.py+++ b/wger/tasks.py@@ -194,7 +194,7 @@ def create_or_reset_admin(context, settings_path=None):# can't be imported in global scope as it already requires# the settings module during import- # wger+ # Djangofrom django.contrib.auth.models import Usertry:User.objects.get(username="admin")@@ -349,12 +349,10 @@ def database_exists():# can't be imported in global scope as they already require# the settings module during import# Django+ from django.contrib.auth.models import Userfrom django.core.exceptions import ImproperlyConfiguredfrom django.db import DatabaseError- # wger- from django.contrib.auth.models import User-try:# TODO: Use another model, the User could be deactivatedUser.objects.count()