settings: Add myself as admin.
[matthijs/projects/dorestad-bookings.git] / settings.py
1 # Django settings for dorestad1493 project.
2
3 import os
4
5 PROJECT_DIR = os.path.dirname(__file__)
6
7 DEBUG = True
8 TEMPLATE_DEBUG = DEBUG
9
10 ADMINS = (
11     # Server errors get sent here
12     ('Matthijs Kooijman', 'matthijs@stdin.nl'),
13 )
14
15 MANAGERS = ADMINS
16
17 DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
18 DATABASE_NAME = 'db.db' # Or path to database file if using sqlite3.
19 DATABASE_USER = ''             # Not used with sqlite3.
20 DATABASE_PASSWORD = ''         # Not used with sqlite3.
21 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
22 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
23
24 # Local time zone for this installation. Choices can be found here:
25 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
26 # although not all choices may be available on all operating systems.
27 # If running in a Windows environment this must be set to the same as your
28 # system time zone.
29 TIME_ZONE = 'Europe/Amsterdam'
30
31 # Language code for this installation. All choices can be found here:
32 # http://www.i18nguy.com/unicode/language-identifiers.html
33 LANGUAGE_CODE = 'en-us'
34
35 SITE_ID = 1
36
37 # If you set this to False, Django will make some optimizations so as not
38 # to load the internationalization machinery.
39 USE_I18N = True
40
41 # Absolute path to the directory that holds media.
42 # Example: "/home/media/media.lawrence.com/"
43 MEDIA_ROOT = ''
44
45 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
46 # trailing slash if there is a path component (optional in other cases).
47 # Examples: "http://media.lawrence.com", "http://example.com/media/"
48 MEDIA_URL = ''
49
50 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
51 # trailing slash.
52 # Examples: "http://foo.com/media/", "/media/".
53 ADMIN_MEDIA_PREFIX = '/media/'
54
55 # Make this unique, and don't share it with anybody.
56 SECRET_KEY = 'dd1=%ckg%xhi((eq)^@ri0o62trw-j!3(4bed9#u5)$_h&a!)0'
57
58 # List of callables that know how to import templates from various sources.
59 TEMPLATE_LOADERS = (
60     'django.template.loaders.filesystem.load_template_source',
61     'django.template.loaders.app_directories.load_template_source',
62 #     'django.template.loaders.eggs.load_template_source',
63 )
64
65 MIDDLEWARE_CLASSES = (
66     'django.middleware.common.CommonMiddleware',
67     'django.contrib.sessions.middleware.SessionMiddleware',
68     'django.contrib.auth.middleware.AuthenticationMiddleware',
69 )
70
71 ROOT_URLCONF = 'dorestad1493.urls'
72
73 TEMPLATE_DIRS = (
74     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
75     # Always use forward slashes, even on Windows.
76     # Don't forget to use absolute paths, not relative paths.
77     os.path.join(PROJECT_DIR, 'templates'),
78 )
79
80 INSTALLED_APPS = (
81 )