-
Notifications
You must be signed in to change notification settings - Fork 3
/
local_settings.py-example
43 lines (34 loc) · 1.08 KB
/
local_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
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
('', ''),
)
MANAGERS = ADMINS
#variables
EMAIL_HOST = 'localhost'
DEFAULT_FROM_EMAIL = ''
LOGIN_REDIRECT_URL = '/'
SITE_URL = 'https://example.com:8000'
# Path to redirect to on successful login.
LOGIN_REDIRECT_URL = '/'
# Path to redirect to on unsuccessful login attempt.
LOGIN_REDIRECT_URL_FAILURE = '/'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # 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.
}
}
TIME_ZONE = ''
MEDIA_ROOT = ''
MEDIA_URL = ''
ADMIN_MEDIA_PREFIX = '/media/admin/'
SECRET_KEY = ''
TEMPLATE_DIRS = (
)
FORCE_SCRIPT_NAME = ''
SERVE_MEDIA = True