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