1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 from .paths import PROJECT_DIR
9 MAINTENANCE_MODE = False
12 # ('Your Name', 'your_email@domain.com'),
19 'ENGINE': 'django.db.backends.sqlite3', # 'postgresql_psycopg2'
20 'NAME': path.join(PROJECT_DIR, 'dev.db'),
21 'USER': '', # Not used with sqlite3.
22 'PASSWORD': '', # Not used with sqlite3.
23 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
27 SOLR = "http://localhost:8983/solr/wl/"
28 SOLR_TEST = "http://localhost:8983/solr/wl_test/"
29 SOLR_STOPWORDS = "/path/to/solr/data/conf/lang/stopwords_pl.txt"
31 # Local time zone for this installation. Choices can be found here:
32 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
33 # although not all choices may be available on all operating systems.
34 # If running in a Windows environment this must be set to the same as your
36 TIME_ZONE = 'Europe/Warsaw'
42 'BACKEND': 'django.template.backends.django.DjangoTemplates',
45 ('django.template.loaders.cached.Loader', (
46 'django.template.loaders.filesystem.Loader',
47 'django.template.loaders.app_directories.Loader',
50 'context_processors': (
51 'django.contrib.auth.context_processors.auth',
52 'django.core.context_processors.debug',
53 'django.core.context_processors.i18n',
54 'django.core.context_processors.media',
55 'django.core.context_processors.request',
56 'wolnelektury.context_processors.extra_settings',
57 'search.context_processors.search_form',