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