Now importing a book that already exists in our database doesn't duplicate it's fragm...
[wolnelektury.git] / wolnelektury / settings.py
index 3afa9dd..ab9a40f 100644 (file)
@@ -77,8 +77,8 @@ MIDDLEWARE_CLASSES = [
 ]
 
 # If DEBUG is enabled add query log to bottom of every template
-if DEBUG:
-    MIDDLEWARE_CLASSES.append('middleware.ProfileMiddleware')
+if DEBUG:
+    MIDDLEWARE_CLASSES.append('middleware.ProfileMiddleware')
 
 ROOT_URLCONF = 'urls'