minor pagination fix
[wolnelektury.git] / wolnelektury / settings.py
index 9b34635..48ba8f8 100644 (file)
@@ -110,7 +110,7 @@ TEMPLATE_DIRS = [
     path.join(PROJECT_DIR, 'templates'),
 ]
 
     path.join(PROJECT_DIR, 'templates'),
 ]
 
-LOGIN_URL = '/uzytkownicy/zaloguj/'
+LOGIN_URL = '/uzytkownicy/login/'
 
 LOGIN_REDIRECT_URL = '/'
 
 
 LOGIN_REDIRECT_URL = '/'
 
@@ -162,7 +162,11 @@ COMPRESS_CSS = {
     'book': {
         'source_filenames': ('css/master.book.css',),
         'output_filename': 'css/book.min?.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 = {
 }
 
 COMPRESS_JS = {
@@ -219,6 +223,11 @@ MAX_TAG_LIST = 6
 
 NO_BUILD_EPUB = False
 NO_BUILD_TXT = False
 
 NO_BUILD_EPUB = False
 NO_BUILD_TXT = False
+NO_BUILD_PDF = False
+
+
+PAGINATION_INVALID_PAGE_RAISES_404 = True
+
 
 # Load localsettings, if they exist
 try:
 
 # Load localsettings, if they exist
 try: