Now importing a book that already exists in our database doesn't duplicate it's fragm...
[wolnelektury.git] / wolnelektury / settings.py
index a978759..ab9a40f 100644 (file)
@@ -72,7 +72,7 @@ MIDDLEWARE_CLASSES = [
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
-    'django.middleware.doc.XViewMiddleware',
+    'django.middleware.doc.XViewMiddleware',
     'pagination.middleware.PaginationMiddleware',
 ]
 
     'pagination.middleware.PaginationMiddleware',
 ]
 
@@ -109,7 +109,7 @@ COMPRESS_JS = {
         'output_filename': 'js/all.min.js',
     },
     'book': {
         'output_filename': 'js/all.min.js',
     },
     'book': {
-        'source_filenames': ('js/jquery.scrollto.js', 'js/book.js',),
+        'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',),
         'output_filename': 'js/book.min.js',
     }
 }
         'output_filename': 'js/book.min.js',
     }
 }