diff --git a/docs/conf.py b/docs/conf.py
index 6d5096b201dfaebd8debe03214c4e3ead9ac5eec..5817b0ad2b1195aeb704d7561fa57aec5a6d880a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -8,13 +8,14 @@
 
 # -- Path setup --------------------------------------------------------------
 
+import os
+import sys
+
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
 import django
-import os
-import sys
 
 sys.path.insert(0, os.path.abspath(".."))
 os.environ["DJANGO_SETTINGS_MODULE"] = "aleksis.core.settings"