-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.py
executable file
·49 lines (36 loc) · 1.19 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Django settings for Hunch applications
from djangoappengine.settings_base import *
import os
############
# Edit me! #
############
# your SECRET_KEY should be a unique 50 character string.
SECRET_KEY = '##################################################'
# you can use the following code to generate it:
# import string
# from random import choice
# print ''.join([choice(string.letters + string.digits + string.punctuation) for i in range(50)])
DEBUG = True
##################
# Don't touch me #
##################
INSTALLED_APPS = (
'djangoappengine',
'djangotoolbox',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'app',
)
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.request',
)
ADMIN_MEDIA_PREFIX = '/media/admin/'
MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media')
TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), 'templates'),)
ROOT_URLCONF = 'urls'