minor pagination fix
[wolnelektury.git] / wolnelektury / settings.py
index 5cb556b..48ba8f8 100644 (file)
@@ -162,7 +162,11 @@ COMPRESS_CSS = {
     'book': {
         'source_filenames': ('css/master.book.css',),
         'output_filename': 'css/book.min?.css',
-    }
+    },
+    'simple': {
+        'source_filenames': ('css/simple.css',),
+        'output_filename': 'css/simple.min?.css',
+    },
 }
 
 COMPRESS_JS = {
@@ -222,6 +226,8 @@ NO_BUILD_TXT = False
 NO_BUILD_PDF = False
 
 
+PAGINATION_INVALID_PAGE_RAISES_404 = True
+
 
 # Load localsettings, if they exist
 try: