Set up sqlite
[afritrack.git] / afritrack / settings.py
blob1c2dad1ea15550cacc02a8688c3eb07f550ad949
1 # Django settings for afritrack project.
3 DEBUG = True
4 TEMPLATE_DEBUG = DEBUG
6 ADMINS = (
7 # ('Your Name', 'your_email@domain.com'),
8 ('Rory McCann', 'rory@technomancy.org'),
11 MANAGERS = ADMINS
13 DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
14 DATABASE_NAME = './db' # Or path to database file if using sqlite3.
15 DATABASE_USER = '' # Not used with sqlite3.
16 DATABASE_PASSWORD = '' # Not used with sqlite3.
17 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
18 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
20 # Local time zone for this installation. Choices can be found here:
21 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
22 # although not all choices may be available on all operating systems.
23 # If running in a Windows environment this must be set to the same as your
24 # system time zone.
25 TIME_ZONE = 'America/Chicago'
27 # Language code for this installation. All choices can be found here:
28 # http://www.i18nguy.com/unicode/language-identifiers.html
29 LANGUAGE_CODE = 'en-us'
31 SITE_ID = 1
33 # If you set this to False, Django will make some optimizations so as not
34 # to load the internationalization machinery.
35 USE_I18N = True
37 # Absolute path to the directory that holds media.
38 # Example: "/home/media/media.lawrence.com/"
39 MEDIA_ROOT = ''
41 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
42 # trailing slash if there is a path component (optional in other cases).
43 # Examples: "http://media.lawrence.com", "http://example.com/media/"
44 MEDIA_URL = ''
46 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
47 # trailing slash.
48 # Examples: "http://foo.com/media/", "/media/".
49 ADMIN_MEDIA_PREFIX = '/media/'
51 # Make this unique, and don't share it with anybody.
52 SECRET_KEY = 'eq-c7+8u_h4)nr257!2(x2t2@aub%%zz2-9ya&qtnsbk@dxql$'
54 # List of callables that know how to import templates from various sources.
55 TEMPLATE_LOADERS = (
56 'django.template.loaders.filesystem.load_template_source',
57 'django.template.loaders.app_directories.load_template_source',
58 # 'django.template.loaders.eggs.load_template_source',
61 MIDDLEWARE_CLASSES = (
62 'django.middleware.common.CommonMiddleware',
63 'django.contrib.sessions.middleware.SessionMiddleware',
64 'django.contrib.auth.middleware.AuthenticationMiddleware',
67 ROOT_URLCONF = 'afritrack.urls'
69 TEMPLATE_DIRS = (
70 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
71 # Always use forward slashes, even on Windows.
72 # Don't forget to use absolute paths, not relative paths.
75 INSTALLED_APPS = (
76 'django.contrib.auth',
77 'django.contrib.contenttypes',
78 'django.contrib.sessions',
79 'django.contrib.sites',