blob: 6e373cc74a29b55cce86ad16e9ca84d6dde94bf2 (
plain)
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
44
45
46
47
48
49
50
51
52
|
"""
Development settings for patchwork project.
These are also used in unit tests.
Design based on:
http://www.revsys.com/blog/2014/nov/21/recommended-django-project-layout/
"""
import django
from base import *
#
# Core settings
# https://docs.djangoproject.com/en/1.6/ref/settings/#core-settings
#
# Security
SECRET_KEY = '00000000000000000000000000000000000000000000000000'
# Debugging
DEBUG = True
# Templates
TEMPLATE_DEBUG = True
# Database
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'HOST': 'localhost',
'PORT': '',
'USER': os.environ['PW_TEST_DB_USER'],
'PASSWORD': os.environ['PW_TEST_DB_PASS'],
'NAME': 'patchwork',
'TEST_CHARSET': 'utf8',
},
}
if django.VERSION >= (1, 7):
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
#
# Patchwork settings
#
ENABLE_XMLRPC = True
|