X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5e983f642ea537225bf3a20e97fca281c8fdc915..73e3cc6c4b80f1afbfc78fc7ccd6f6cfc90b719c:/wolnelektury/settings.py diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index 6c58bff46..5cb556bb4 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -110,40 +110,43 @@ TEMPLATE_DIRS = [ path.join(PROJECT_DIR, 'templates'), ] -LOGIN_URL = '/uzytkownicy/zaloguj/' +LOGIN_URL = '/uzytkownicy/login/' LOGIN_REDIRECT_URL = '/' INSTALLED_APPS = [ - # included + # external 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.admindocs', - - # external + 'pagination', + 'piston', + 'piwik.django', + 'rosetta', 'south', 'sorl.thumbnail', - 'sponsors', - 'newtagging', - 'pagination', - 'chunks', + + # included 'compress', 'modeltranslation', + + # our + 'api', 'catalogue', + 'chunks', 'dictionary', - 'lessons', - 'piston', - 'api', - 'rosetta', 'infopages', - 'suggest', 'lesmianator', + 'lessons', + 'newtagging', 'opds', 'pdcounter', - 'piwik.django', + 'sponsors', + 'stats', + 'suggest', ] #CACHE_BACKEND = 'locmem:///?max_entries=3000' @@ -216,6 +219,9 @@ MAX_TAG_LIST = 6 NO_BUILD_EPUB = False NO_BUILD_TXT = False +NO_BUILD_PDF = False + + # Load localsettings, if they exist try: