limeyd (owner)

Revisions

gist: 139914 Download_button fork
public
Public Clone URL: git://gist.github.com/139914.git
Python
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
53
54
55
56
57
58
59
60
61
62
# Development django settings
 
import os.path
PROJECT_DIR = os.path.dirname(__file__)
 
DEBUG = True
TEMPLATE_DEBUG = DEBUG
 
ADMINS = (
    ('Darren Pearce', 'darren@darrenpearce.com'),
)
 
MANAGERS = ADMINS
 
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = os.path.join(PROJECT_DIR,'dev.db')
 
TIME_ZONE = 'America/Chicago'
 
LANGUAGE_CODE = 'en-us'
 
SITE_ID = 1
 
USE_I18N = True
 
MEDIA_ROOT = os.path.join(PROJECT_DIR,'public/')
 
STATIC_DOC_ROOT = MEDIA_ROOT
 
MEDIA_URL = 'http://localhost:8000/media'
 
ADMIN_MEDIA_PREFIX = '/admin_media/'
 
SECRET_KEY = '-)%qn@$wjiyup6x4w*^-eryr33y+@fni3lyre7c#xuj78qj8+$'
 
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
    'dbtemplates.loader.load_template_source',
)
 
MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
)
 
ROOT_URLCONF = 'project.urls'
 
TEMPLATE_DIRS = (
    os.path.join(SITE_DIR,'templates')
)
 
INSTALLED_APPS = (
    'django_extensions',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
)