Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (41 sloc) 1.341 kb
0ea9f05 @fwenzel Moving around the settings file, creating a settings_local template.
fwenzel authored
1 # This is an example settings_local.py file.
2 # Copy it and add your local settings here.
3
5db7edb @fwenzel Added django-sha256
fwenzel authored
4 from settings import *
5
6
0ea9f05 @fwenzel Moving around the settings file, creating a settings_local template.
fwenzel authored
7 DATABASES = {
8 'default': {
9 'ENGINE': 'django.db.backends.mysql',
10 'NAME': '',
11 'USER': '',
12 'PASSWORD': '',
13 'HOST': '',
14 'PORT': '',
15 'OPTIONS': {
16 'init_command': 'SET storage_engine=InnoDB',
17 'charset' : 'utf8',
18 'use_unicode' : True,
19 },
5db7edb @fwenzel Added django-sha256
fwenzel authored
20 'TEST_CHARSET': 'utf8',
21 'TEST_COLLATION': 'utf8_general_ci',
0ea9f05 @fwenzel Moving around the settings file, creating a settings_local template.
fwenzel authored
22 },
9908571 @fwenzel Do not default to py-bcrypt because it is hard to install and configure....
fwenzel authored
23 # 'slave': {
24 # ...
25 # },
0ea9f05 @fwenzel Moving around the settings file, creating a settings_local template.
fwenzel authored
26 }
27
27f2bad @fwenzel Added some comments to settings_local.py-dist
fwenzel authored
28 # Recipients of traceback emails and other notifications.
0ea9f05 @fwenzel Moving around the settings file, creating a settings_local template.
fwenzel authored
29 ADMINS = (
30 # ('Your Name', 'your_email@domain.com'),
31 )
32 MANAGERS = ADMINS
33
27f2bad @fwenzel Added some comments to settings_local.py-dist
fwenzel authored
34 # Debugging displays nice error messages, but leaks memory. Set this to False
35 # on all server instances and True only for development.
9d8e6ef @fwenzel Added jingo and an example app rendering a simple template.
fwenzel authored
36 DEBUG = TEMPLATE_DEBUG = True
2d27585 @stasm Refactor KNOWN_LANGUAGES into {DEV,PROD}_LANGUAGES
stasm authored
37
27f2bad @fwenzel Added some comments to settings_local.py-dist
fwenzel authored
38 # Is this a development instance? Set this to True on development/master
39 # instances and False on stage/prod.
2d27585 @stasm Refactor KNOWN_LANGUAGES into {DEV,PROD}_LANGUAGES
stasm authored
40 DEV = True
9908571 @fwenzel Do not default to py-bcrypt because it is hard to install and configure....
fwenzel authored
41
42 # Playdoh ships with sha512 password hashing by default. Bcrypt+HMAC is safer,
43 # so it is recommended. Please read <https://github.com/fwenzel/django-sha2#readme>,
44 # then switch this to bcrypt and pick a secret HMAC key for your application.
45 #PWD_ALGORITHM = 'bcrypt'
46 #HMAC_KEYS = { # for bcrypt only
47 # '2011-01-01': 'cheesecake',
48 #}
49
Something went wrong with that request. Please try again.