· 9 years ago · Oct 24, 2016, 08:44 AM
1# -*- coding: utf-8 -*-
2
3import os
4
5DEBUG = True
6TEMPLATE_DEBUG = DEBUG
7
8ADMINS = (
9 #('Anton Perepelicyn', 'antonio@kick-ass.pro'),
10 #('Sergey Romashkin', 'serjio@kick-ass.pro'),
11 #('Denis Churkin', 'chuda@kick-ass.pro'),
12)
13
14
15MANAGERS = ADMINS
16
17DATABASES = {
18 'default': {
19 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle', 'django.contrib.gis.db.backends.postgis'
20 'NAME': 'rbc_thomson', # Or path to database file if using sqlite3.
21 'USER': 'rbc_thomson', # Not used with sqlite3.
22 'PASSWORD': 'rbc_thomson', # Not used with sqlite3.
23 'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3.
24 'PORT': '', # Set to empty string for default. Not used with sqlite3.
25 #'OPTIONS': {
26 # 'use_unicode': True,
27 # 'charset': 'utf8',
28 # 'init_command': "SET storage_engine = InnoDB, NAMES 'utf8' COLLATE 'utf8_unicode_ci', SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED",
29 #}
30 }
31}
32
33
34TIME_ZONE = 'Europe/Moscow'
35
36
37LANGUAGE_CODE = 'ru-ru'
38
39SITE_ID = 1
40
41# Hosts/domain names that are valid for this site; required if DEBUG is False
42# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
43ALLOWED_HOSTS = ['*']
44
45
46USE_I18N = True
47USE_L10N = True
48
49
50SECRET_KEY = 'SDfsdfsf'
51
52
53# grappelli config
54GRAPPELLI_ADMIN_TITLE = 'РБК Thomson [LOCAL]'
55
56
57
58THUMBNAIL_DEBUG = DEBUG