-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlocal_settings.sample.py
42 lines (36 loc) · 1.09 KB
/
local_settings.sample.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
32
33
34
35
36
37
38
39
40
41
42
# AKCODE_GIT_REPO = '[email protected]:repository'
# Make this unique, and don't share it with anybody.
# SECRET_KEY = 'secret!'
import os
PROJECT_PATH = os.path.realpath(os.path.dirname(__file__))
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(PROJECT_PATH, 'default.db'),
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
},
'ak': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'actionkit_db_name',
'USER': 'actionkit_db_user',
'PASSWORD': 'actionkit_db_password',
'HOST': 'client-db.actionkit.com',
'PORT': '',
},
}
ACTIONKIT_API_HOST = 'https://act.my-domain.com'
ACTIONKIT_API_USER = 'api_user'
ACTIONKIT_API_PASSWORD = 'api_password'
LOCAL_MIDDLEWARE_CLASSES = (
"djangohelpers.middleware.AuthRequirementMiddleware",
)
ANONYMOUS_PATHS = (
"/static/",
"/admin/",
"/accounts/",
)
LOGIN_URL = '/accounts/login/'
LOGIN_REDIRECT_URL = '/'