0409be18c7b24be5570749aca15202e8be7b11c9
[prawokultury.git] / prawokultury / settings.d / 20-basic.py
1 DEBUG = False
2
3 DATABASES = {
4     'default': {
5         'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
6         'NAME': path.join(PROJECT_DIR, 'dev.db'),                      # Or path to database file if using sqlite3.
7         'USER': '',                      # Not used with sqlite3.
8         'PASSWORD': '',                  # Not used with sqlite3.
9         'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
10         'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
11     }
12 }
13
14 SITE_ID = 1
15
16 ROOT_URLCONF = 'prawokultury.urls'
17
18 TEMPLATES = [
19     {
20         'BACKEND': 'django.template.backends.django.DjangoTemplates',
21         'APP_DIRS': True,
22         'OPTIONS': {
23             'context_processors': [
24                 "django.contrib.auth.context_processors.auth",
25                 "django.core.context_processors.debug",
26                 "django.core.context_processors.i18n",
27                 "django.core.context_processors.media",
28                 "django.core.context_processors.static",
29                 "django.core.context_processors.tz",
30                 "django.contrib.messages.context_processors.messages",
31                 'django.core.context_processors.request',
32                 'prawokultury.context_processors.registration_url',
33             ],
34         },
35     },
36 ]
37
38 # Python dotted path to the WSGI application used by Django's runserver.
39 WSGI_APPLICATION = 'prawokultury.wsgi.application'