| 1 | # This file is part of "Effectiveness".
|
|---|
| 2 | #
|
|---|
| 3 | # Copyright (C) 2010-2011 Effectiveness's Developer Team.
|
|---|
| 4 |
|
|---|
| 5 | from __future__ import absolute_import, division, print_function, unicode_literals
|
|---|
| 6 |
|
|---|
| 7 | # Django settings for effectiveness_web_app project.
|
|---|
| 8 |
|
|---|
| 9 | DEBUG = True
|
|---|
| 10 | TEMPLATE_DEBUG = DEBUG
|
|---|
| 11 |
|
|---|
| 12 | ADMINS = (
|
|---|
| 13 | # ('Your Name', 'your_email@domain.com'),
|
|---|
| 14 | )
|
|---|
| 15 |
|
|---|
| 16 | MANAGERS = ADMINS
|
|---|
| 17 |
|
|---|
| 18 | DATABASES = {
|
|---|
| 19 | b'default': {
|
|---|
| 20 | b'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
|---|
| 21 | b'NAME': '', # Or path to database file if using sqlite3.
|
|---|
| 22 | b'USER': '', # Not used with sqlite3.
|
|---|
| 23 | b'PASSWORD': '', # Not used with sqlite3.
|
|---|
| 24 | b'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
|---|
| 25 | b'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
|---|
| 26 | }
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | # Local time zone for this installation. Choices can be found here:
|
|---|
| 30 | # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
|---|
| 31 | # although not all choices may be available on all operating systems.
|
|---|
| 32 | # On Unix systems, a value of None will cause Django to use the same
|
|---|
| 33 | # timezone as the operating system.
|
|---|
| 34 | # If running in a Windows environment this must be set to the same as your
|
|---|
| 35 | # system time zone.
|
|---|
| 36 | TIME_ZONE = 'Europe/Moscow'
|
|---|
| 37 |
|
|---|
| 38 | # Language code for this installation. All choices can be found here:
|
|---|
| 39 | # http://www.i18nguy.com/unicode/language-identifiers.html
|
|---|
| 40 | LANGUAGE_CODE = 'ru-ru'
|
|---|
| 41 |
|
|---|
| 42 | SITE_ID = 1
|
|---|
| 43 |
|
|---|
| 44 | # If you set this to False, Django will make some optimizations so as not
|
|---|
| 45 | # to load the internationalization machinery.
|
|---|
| 46 | USE_I18N = True
|
|---|
| 47 |
|
|---|
| 48 | # If you set this to False, Django will not format dates, numbers and
|
|---|
| 49 | # calendars according to the current locale
|
|---|
| 50 | USE_L10N = True
|
|---|
| 51 |
|
|---|
| 52 | # Absolute filesystem path to the directory that will hold user-uploaded files.
|
|---|
| 53 | # Example: "/home/media/media.lawrence.com/"
|
|---|
| 54 | MEDIA_ROOT = ''
|
|---|
| 55 |
|
|---|
| 56 | # URL that handles the media served from MEDIA_ROOT. Make sure to use a
|
|---|
| 57 | # trailing slash if there is a path component (optional in other cases).
|
|---|
| 58 | # Examples: "http://media.lawrence.com", "http://example.com/media/"
|
|---|
| 59 | MEDIA_URL = ''
|
|---|
| 60 |
|
|---|
| 61 | # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
|
|---|
| 62 | # trailing slash.
|
|---|
| 63 | # Examples: "http://foo.com/media/", "/media/".
|
|---|
| 64 | ADMIN_MEDIA_PREFIX = '/media/'
|
|---|
| 65 |
|
|---|
| 66 | # Make this unique, and don't share it with anybody.
|
|---|
| 67 | SECRET_KEY = b'w^rl_c8ch^xnj6!@!&srp$dmnlzcm6&d+8!27y7f-3e$#7+kn5'
|
|---|
| 68 |
|
|---|
| 69 | # List of callables that know how to import templates from various sources.
|
|---|
| 70 | TEMPLATE_LOADERS = (
|
|---|
| 71 | 'django.template.loaders.filesystem.Loader',
|
|---|
| 72 | 'django.template.loaders.app_directories.Loader',
|
|---|
| 73 | # 'django.template.loaders.eggs.Loader',
|
|---|
| 74 | )
|
|---|
| 75 |
|
|---|
| 76 | MIDDLEWARE_CLASSES = (
|
|---|
| 77 | 'django.middleware.common.CommonMiddleware',
|
|---|
| 78 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
|---|
| 79 | 'django.middleware.csrf.CsrfViewMiddleware',
|
|---|
| 80 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
|---|
| 81 | 'django.contrib.messages.middleware.MessageMiddleware',
|
|---|
| 82 | )
|
|---|
| 83 |
|
|---|
| 84 | ROOT_URLCONF = 'effectiveness_web_app.urls'
|
|---|
| 85 |
|
|---|
| 86 | TEMPLATE_DIRS = (
|
|---|
| 87 | # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
|
|---|
| 88 | # Always use forward slashes, even on Windows.
|
|---|
| 89 | # Don't forget to use absolute paths, not relative paths.
|
|---|
| 90 | )
|
|---|
| 91 |
|
|---|
| 92 | INSTALLED_APPS = (
|
|---|
| 93 | 'django.contrib.auth',
|
|---|
| 94 | 'django.contrib.contenttypes',
|
|---|
| 95 | 'django.contrib.sessions',
|
|---|
| 96 | 'django.contrib.sites',
|
|---|
| 97 | 'django.contrib.messages',
|
|---|
| 98 | # Uncomment the next line to enable the admin:
|
|---|
| 99 | # 'django.contrib.admin',
|
|---|
| 100 | # Uncomment the next line to enable admin documentation:
|
|---|
| 101 | # 'django.contrib.admindocs',
|
|---|
| 102 | )
|
|---|