-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings_local.py-dist
39 lines (34 loc) · 1.3 KB
/
settings_local.py-dist
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
# Example MozSecWorld settings_local.py file.
# Copy it and add your local settings here.
from settings import *
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mozsecworld', # This is the database name
'USER': '[TODO: INSERT SQL USERNAME]',
'PASSWORD': '[TODO: INSERT SQL PASSWORD]',
'HOST': 'localhost',
'PORT': '3306',
'OPTIONS': {
'init_command': 'SET storage_engine=InnoDB',
'charset' : 'utf8',
'use_unicode' : True,
},
'TEST_CHARSET': 'utf8',
'TEST_COLLATION': 'utf8_general_ci',
},
}
## Auth
# date: YYYY-MM-DD, bcrypt uses the max one when creating new users
# Remember to not delete, just APPEND
HMAC_KEYS = {
'2011-10-03': 'cheesecake',
}
## My own stuff
## Google Safebrowsing
GSB_API_KEY = '[TODO: replace me with your GSP API KEY from http://code.google.com/apis/safebrowsing/key_signup.html]'
## Recaptcha stuff
RECAPTCHA_PUBLIC_KEY = '[TODO: replace me with your RECAPTCHA KEY from http://www.google.com/recaptcha/whyrecaptcha]'
RECAPTCHA_PRIVATE_KEY = '[TODO: replace me with your RECAPTCHA KEY from http://www.google.com/recaptcha/whyrecaptcha]'
RECAPTCHA_URL = ('https://www.google.com/recaptcha/api/challenge?k=%s' %
RECAPTCHA_PUBLIC_KEY)