1 # Django settings for sommitrealweird project.
7 # ('Your Name', 'your_email@domain.com'),
8 ('Brett Parker', 'iDunno@sommitrealweird.co.uk'),
13 DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
14 DATABASE_NAME = '/home/brettp/dev/sommitrealweird/sommitrealweird.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://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
22 # although not all variations may be possible on all operating systems.
23 # If running in a Windows environment this must be set to the same as your
25 TIME_ZONE = 'Europe/London'
27 # Language code for this installation. All choices can be found here:
28 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
29 # http://blogs.law.harvard.edu/tech/stories/storyReader$15
30 LANGUAGE_CODE = 'en-gb'
34 # If you set this to False, Django will make some optimizations so as not
35 # to load the internationalization machinery.
38 # Absolute path to the directory that holds media.
39 # Example: "/home/media/media.lawrence.com/"
40 MEDIA_ROOT = '/home/brettp/dev/sommitrealweird/media/'
42 # URL that handles the media served from MEDIA_ROOT.
43 # Example: "http://media.lawrence.com"
46 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
48 # Examples: "http://foo.com/media/", "/media/".
49 ADMIN_MEDIA_PREFIX = '/admin-media/'
51 # Make this unique, and don't share it with anybody.
52 SECRET_KEY = '$!roq-b5snvjxi4dr2y7(l(@$@k+2%aub&)s__0)k#r&c(8(4x'
54 CACHE_BACKEND = 'file:///home/brettp/dev/sommitrealweird/tmp'
56 # List of callables that know how to import templates from various sources.
58 'django.template.loaders.filesystem.load_template_source',
59 'django.template.loaders.app_directories.load_template_source',
60 # 'django.template.loaders.eggs.load_template_source',
63 MIDDLEWARE_CLASSES = (
64 'django.middleware.common.CommonMiddleware',
65 'django.contrib.sessions.middleware.SessionMiddleware',
66 'django.contrib.auth.middleware.AuthenticationMiddleware',
67 'django.middleware.doc.XViewMiddleware',
73 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
74 # Always use forward slashes, even on Windows.
75 # Don't forget to use absolute paths, not relative paths.
76 "/home/brettp/dev/sommitrealweird/templates",
80 'django.contrib.auth',
81 'django.contrib.contenttypes',
82 'django.contrib.sessions',
83 'django.contrib.sites',
84 'django.contrib.admin',
85 'django.contrib.markup',
91 TEMPLATE_CONTEXT_PROCESSORS = (
92 'django.core.context_processors.auth',
93 'django.core.context_processors.debug',
94 'django.core.context_processors.i18n',
95 'generic.context_processors.media',
96 'bpcms.context_processors.content_menu',
97 'bpcms.context_processors.content_submenu',
98 'bpcms.context_processors.content_breadcrumb',
99 'blog.context_processors.content_breadcrumb',
105 BPCMS_DISALLOWED_ROOT_DOC_NAMES = (
112 BLOG_TITLE = u'The World of SommitRealWeird.'