Mercurial > nosedjango
annotate examples/project/settings.py @ 5:22ae9aa457af
excercise more bits of the django 1.0b1 test framework
author | Victor Ng <victor@monkeybean.ca> |
---|---|
date | Thu, 28 Aug 2008 11:29:21 -0400 |
parents | ff263bdd455e |
children | 8d0793b2358b |
rev | line source |
---|---|
0 | 1 # Django settings for dtt project. |
2 | |
3 DEBUG = True | |
4 TEMPLATE_DEBUG = DEBUG | |
5 | |
6 ADMINS = ( | |
7 # ('Your Name', 'your_email@domain.com'), | |
8 ) | |
9 | |
10 MANAGERS = ADMINS | |
11 | |
12 DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. | |
5
22ae9aa457af
excercise more bits of the django 1.0b1 test framework
Victor Ng <victor@monkeybean.ca>
parents:
0
diff
changeset
|
13 DATABASE_NAME = 'zoo.db' # Or path to database file if using sqlite3. |
0 | 14 #DATABASE_USER = '' # Not used with sqlite3. |
15 #DATABASE_PASSWORD = '' # Not used with sqlite3. | |
16 #DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. | |
17 #DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. | |
18 | |
19 | |
20 # Local time zone for this installation. All choices can be found here: | |
21 # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE | |
22 TIME_ZONE = 'America/Chicago' | |
23 | |
24 # Language code for this installation. All choices can be found here: | |
25 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes | |
26 # http://blogs.law.harvard.edu/tech/stories/storyReader$15 | |
27 LANGUAGE_CODE = 'en-us' | |
28 | |
29 SITE_ID = 1 | |
30 | |
31 # Absolute path to the directory that holds media. | |
32 # Example: "/home/media/media.lawrence.com/" | |
33 MEDIA_ROOT = '' | |
34 | |
35 # URL that handles the media served from MEDIA_ROOT. | |
36 # Example: "http://media.lawrence.com" | |
37 MEDIA_URL = '' | |
38 | |
39 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a | |
40 # trailing slash. | |
41 # Examples: "http://foo.com/media/", "/media/". | |
42 ADMIN_MEDIA_PREFIX = '/media/' | |
43 | |
44 # Make this unique, and don't share it with anybody. | |
45 SECRET_KEY = 'gl6%_ew1u)@)4#^blbji7(25urbdmr82jtov=%i$crckk^t%y@' | |
46 | |
47 # List of callables that know how to import templates from various sources. | |
48 TEMPLATE_LOADERS = ( | |
49 'django.template.loaders.filesystem.load_template_source', | |
50 'django.template.loaders.app_directories.load_template_source', | |
51 # 'django.template.loaders.eggs.load_template_source', | |
52 ) | |
53 | |
54 MIDDLEWARE_CLASSES = ( | |
55 'django.middleware.common.CommonMiddleware', | |
56 'django.contrib.sessions.middleware.SessionMiddleware', | |
57 'django.contrib.auth.middleware.AuthenticationMiddleware', | |
58 'django.middleware.doc.XViewMiddleware', | |
59 ) | |
60 | |
61 ROOT_URLCONF = 'dtt.urls' | |
62 | |
63 TEMPLATE_DIRS = ( | |
64 # Put strings here, like "/home/html/django_templates". | |
65 # Always use forward slashes, even on Windows. | |
66 ) | |
67 | |
68 INSTALLED_APPS = ( | |
69 'django.contrib.contenttypes', | |
70 'django.contrib.auth', | |
71 'django.contrib.sessions', | |
72 'django.contrib.sites', | |
73 'project.zoo' | |
74 ) |