source: subversion/sites/other/tilesAtHome_tahngo/settings.py.example @ 9325

Last change on this file since 9325 was 9205, checked in by spaetz, 12 years ago

mv settings.py to settings.py.example, svn:ignore settings.py and adapt INSTALL accordingly to make svn ignore changes in it.

File size: 3.1 KB
Line 
1# Django settings for tah project.
2
3DEBUG = True
4TEMPLATE_DEBUG = DEBUG
5
6ADMINS = (
7    # ('Your Name', 'your_email@domain.com'),
8)
9
10MANAGERS = ADMINS
11AUTH_PROFILE_MODULE="user.TahUser"
12AUTHENTICATION_BACKENDS=('django.contrib.auth.backends.ModelBackend','tah.user.auth.OSMBackend')
13
14DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
15DATABASE_NAME = '/var/www/sspaeth.de/tah/tah.db'             # Or path to database file if using sqlite3.
16DATABASE_USER = ''             # Not used with sqlite3.
17DATABASE_PASSWORD = ''         # Not used with sqlite3.
18DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
19DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
20
21LOGIN_REDIRECT_URL="/~spaetz/user"
22
23# Local time zone for this installation. Choices can be found here:
24# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
25# although not all choices may be avilable on all operating systems.
26# If running in a Windows environment this must be set to the same as your
27# system time zone.
28TIME_ZONE = 'America/Chicago'
29
30# Language code for this installation. All choices can be found here:
31# http://www.i18nguy.com/unicode/language-identifiers.html
32LANGUAGE_CODE = 'en-us'
33
34SITE_ID = 1
35
36# If you set this to False, Django will make some optimizations so as not
37# to load the internationalization machinery.
38USE_I18N = False
39
40# Absolute path to the directory that holds media.
41# Example: "/home/media/media.lawrence.com/"
42MEDIA_ROOT = '/var/www/sspaeth.de/tah'
43
44# URL that handles the media served from MEDIA_ROOT. Make sure to use a
45# trailing slash if there is a path component (optional in other cases).
46# Examples: "http://media.lawrence.com", "http://example.com/media/"
47MEDIA_URL = 'http://tah.openstreetmap.org/tah/'
48
49# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
50# trailing slash.
51# Examples: "http://foo.com/media/", "/media/".
52ADMIN_MEDIA_PREFIX = '/~spaetz/admin_media/'
53
54# Make this unique, and don't share it with anybody.
55SECRET_KEY = '#(2dlldd@za!(k$vm0jn+%s#wkfrm8v^0wl14lc&$8yb4j+e)m'
56
57# List of callables that know how to import templates from various sources.
58TEMPLATE_LOADERS = (
59    'django.template.loaders.filesystem.load_template_source',
60    'django.template.loaders.app_directories.load_template_source',
61#     'django.template.loaders.eggs.load_template_source',
62)
63
64MIDDLEWARE_CLASSES = (
65    'django.middleware.common.CommonMiddleware',
66    'django.contrib.sessions.middleware.SessionMiddleware',
67    'django.contrib.auth.middleware.AuthenticationMiddleware',
68    'django.middleware.doc.XViewMiddleware',
69)
70
71ROOT_URLCONF = 'tah.spaetzurls'
72
73TEMPLATE_DIRS = (
74    '/var/www/sspaeth.de/tah/templates',
75    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
76    # Don't forget to use absolute paths, not relative paths.
77)
78
79INSTALLED_APPS = (
80    'django.contrib.auth',
81    'django.contrib.contenttypes',
82    'django.contrib.sessions',
83    'django.contrib.sites',
84    'django.contrib.admin',
85    'tah.user',
86    'tah.browse',
87    'tah.requests',
88    'tah.tah_intern',
89)
Note: See TracBrowser for help on using the repository browser.