fix after merge
[edumed.git] / edumed / settings / basic.py
1 # -*- coding: utf-8 -*-
2 import os.path
3
4 from .paths import PROJECT_DIR
5
6 DEBUG = False
7 TEMPLATE_DEBUG = DEBUG
8
9 DATABASES = {
10     'default': {
11         'ENGINE': 'django.db.backends.sqlite3',  # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
12         'NAME': os.path.join(PROJECT_DIR, 'dev.db'),                      # Or path to database file if using sqlite3.
13         'USER': '',                      # Not used with sqlite3.
14         'PASSWORD': '',                  # Not used with sqlite3.
15         'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
16         'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
17     }
18 }
19
20 SITE_ID = 1
21
22 # List of callables that know how to import templates from various sources.
23 TEMPLATE_LOADERS = (
24     'django.template.loaders.filesystem.Loader',
25     'django.template.loaders.app_directories.Loader',
26     # 'django.template.loaders.eggs.Loader',
27 )
28
29 ROOT_URLCONF = 'edumed.urls'
30
31 SUBDOMAIN_URLCONFS = {
32     None: 'edumed.urls',
33     'katalog': 'edumed.milurls',
34 }
35
36 # Python dotted path to the WSGI application used by Django's runserver.
37 WSGI_APPLICATION = 'edumed.wsgi.application'
38
39 TEMPLATE_DIRS = (
40     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
41     # Always use forward slashes, even on Windows.
42     # Don't forget to use absolute paths, not relative paths.
43 )