-
Notifications
You must be signed in to change notification settings - Fork 6
/
site_settings.py.example
61 lines (42 loc) · 2.11 KB
/
site_settings.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import os.path
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
# Settings in this file must be edited before deployment
DEBUG = True # MUST be False in production
TEMPLATE_DEBUG = DEBUG
ADMINS = ()
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': os.path.join(PROJECT_PATH, 'database.sqlite'), # 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.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'grakon-cache',
'TIMEOUT': 60,
'KEY_PREFIX': '', # Set it unique for each server working with the same cache instance
}
}
DEFAULT_FROM_EMAIL = 'admin@grakon.org'
URL_PREFIX = 'http://127.0.0.1:8000' # put an appropriate domain name here
# Make this unique, and don't share it with anybody.
SECRET_KEY = ''
VIRTUALENV = "" # set to ".../env/lib/python2.7/site-packages" if you are using virtualenv
VK_APP_ID = 2798211 # set proper VKontakte app id for comments wall
GOOGLE_ANALYTICS_ID = 'UA-28992589-1'
YA_METRIKA_ID = 12237667 # Yandex Metrika id
ADMIN_PREFIX = 'admin' # prefix to access django admin interface (change for security reasons)
DISQUS_SHORTNAME = 'grakon'
YANDEX_MAPS_KEY = 'ADSyKU8BAAAAD-VBCwIA5ak5VGynqt5xp2tzedBMfAmF8-kAAAAAAAAAAAD_nM6wtAPq97uJHRvkF_aJL3gRVQ=='
DISCUS_SECRET_KEY = 'VUuOVeNPqm1JlMuldLNuFJgqURMF5EEr7UZ8rjxmtje2mJTY4Ahh7J7CsUILk0Cn'
DISCUS_PUBLIC_KEY = 'w6DmLFjTlAlrDcRp1rbLV0cXOUWEKNyQaTxTqOYeKJkvizRtI1UFvjbfco9D61ed'
CLOUDFILES_USERNAME = ''
CLOUDFILES_KEY = ''
CLOUDFILES_CONTAINER = ''
CLOUDFILES_URL_PREFIX = 'http://cdn.grakon.org/'