X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87ff3f803d2f147e6fa939a99c4c4a4ca6aa965f..c26ab6ee15974c1133a6d08c459b51199185f25f:/wolnelektury/settings/basic.py?ds=inline diff --git a/wolnelektury/settings/basic.py b/wolnelektury/settings/basic.py new file mode 100644 index 000000000..3dcb48450 --- /dev/null +++ b/wolnelektury/settings/basic.py @@ -0,0 +1,39 @@ +from os import path +from settings.paths import PROJECT_DIR + +DEBUG = False +TEMPLATE_DEBUG = DEBUG +MAINTENANCE_MODE = False + +ADMINS = [ + # ('Your Name', 'your_email@domain.com'), +] + +MANAGERS = ADMINS + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': path.join(PROJECT_DIR, 'dev.db'), # Or path to database file if using sqlite3. + 'USER': '', # Not used with sqlite3. + 'PASSWORD': '', # Not used with sqlite3. + 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. + } +} + + +# Local time zone for this installation. Choices can be found here: +# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name +# although not all choices may be available on all operating systems. +# If running in a Windows environment this must be set to the same as your +# system time zone. +TIME_ZONE = 'Europe/Warsaw' + +SITE_ID = 1 + +# List of callables that know how to import templates from various sources. +TEMPLATE_LOADERS = [ + 'django.template.loaders.filesystem.Loader', + 'django.template.loaders.app_directories.Loader', +# 'django.template.loaders.eggs.Loader', +]