Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

More fun moking around the sys.path - II

Roland Geider4235aa7ac9b6
diff --git a/wger/tasks.py b/wger/tasks.py
index 739ba2ed9..7c079827a 100644
--- a/wger/tasks.py
+++ b/wger/tasks.py
@@ -25,14 +25,6 @@ import threading # noqa E402
import time # noqa E402
import webbrowser # noqa E402
-# Django
-import django # noqa E402
-from django.core.management import ( # noqa E402
- call_command,
- execute_from_command_line
-)
-from django.utils.crypto import get_random_string # noqa E402
-
# Third Party
from invoke import task # noqa E402
@@ -56,6 +48,15 @@ try:
except ValueError:
pass
+# Django
+import django # noqa E402
+from django.core.management import ( # noqa E402
+ call_command,
+ execute_from_command_line
+)
+from django.utils.crypto import get_random_string # noqa E402
+
+
logger = logging.getLogger(__name__)