1 # Django settings for viper project.
9 # ('Your Name', 'your_email@domain.com'),
16 'ENGINE': 'django.db.backends.sqlite3',
17 'NAME': os
.path
.join(os
.path
.abspath(os
.path
.dirname(__file__
)), 'viper.db'),
21 # Local time zone for this installation. Choices can be found here:
22 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
23 # although not all choices may be available on all operating systems.
24 # On Unix systems, a value of None will cause Django to use the same
25 # timezone as the operating system.
26 # If running in a Windows environment this must be set to the same as your
28 TIME_ZONE
= 'America/Los_Angeles'
30 # Language code for this installation. All choices can be found here:
31 # http://www.i18nguy.com/unicode/language-identifiers.html
32 LANGUAGE_CODE
= 'en-us'
36 # If you set this to False, Django will make some optimizations so as not
37 # to load the internationalization machinery.
40 # If you set this to False, Django will not format dates, numbers and
41 # calendars according to the current locale
44 # Absolute path to the directory that holds media.
45 # Example: "/home/media/media.lawrence.com/"
48 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
49 # trailing slash if there is a path component (optional in other cases).
50 # Examples: "http://media.lawrence.com", "http://example.com/media/"
53 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
55 # Examples: "http://foo.com/media/", "/media/".
56 ADMIN_MEDIA_PREFIX
= '/media/'
58 # Make this unique, and don't share it with anybody.
59 SECRET_KEY
= 's3&3&$(ta$r#ewrns3cv2pyh6-c4^e-4+u^dbivi4mugcnc_yz'
61 # List of callables that know how to import templates from various sources.
63 'django.template.loaders.filesystem.Loader',
64 'django.template.loaders.app_directories.Loader',
65 # 'django.template.loaders.eggs.Loader',
68 TEMPLATE_CONTEXT_PROCESSORS
= (
69 'django.contrib.auth.context_processors.auth',
70 'djangoflash.context_processors.flash',
73 MIDDLEWARE_CLASSES
= (
74 'django.middleware.common.CommonMiddleware',
75 'django.contrib.sessions.middleware.SessionMiddleware',
76 'django.middleware.csrf.CsrfViewMiddleware',
77 'django.contrib.auth.middleware.AuthenticationMiddleware',
78 'django.contrib.messages.middleware.MessageMiddleware',
79 'djangoflash.middleware.FlashMiddleware',
82 ROOT_URLCONF
= 'viper.urls'
84 ROOT_PATH
= os
.path
.dirname(__file__
)
86 os
.path
.join(ROOT_PATH
, 'templates'),
87 os
.path
.join(ROOT_PATH
, 'listing', 'templates'),
88 os
.path
.join(ROOT_PATH
, 'account', 'templates'),
92 'django.contrib.auth',
93 'django.contrib.contenttypes',
94 'django.contrib.sessions',
95 'django.contrib.sites',
96 'django.contrib.messages',
97 'django.contrib.admin',
98 'django.contrib.admindocs',