-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal_settings.py
31 lines (24 loc) · 1005 Bytes
/
local_settings.py
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
import os.path
import django.conf.global_settings as DEFAULT_SETTINGS
PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
ROOT_DIR = os.path.split(PROJECT_DIR)[0]
STATIC_ROOT = ''
STATIC_URL = '/static/'
MEDIA_ROOT = ROOT_DIR + '/media/'
MEDIA_URL = '/media/'
LOGIN_REDIRECT_URL = '/'
ADMIN_MEDIA_PREFIX = '/media/admin/'
CACHES = {}
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = ()
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'govkick_development', # 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.
}
}