Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 81 lines (62 sloc) 2.494 kB
8bbb131 @2shortplanks initial add after running startproject
authored
1 # Django settings for tsp project.
2
e82f482 @2shortplanks more getting admin interface to work, getting basic template renderin…
authored
3 import os
4
128bd56 @2shortplanks make a local settings file that contains the difference between the d…
authored
5 from localsettings import *
6
8bbb131 @2shortplanks initial add after running startproject
authored
7 TEMPLATE_DEBUG = DEBUG
8
9 ADMINS = (
b4fac25 @2shortplanks changed the settings just enough to get the server to work
authored
10 ('Mark Fowler', 'mark@twoshortplanks.com'),
8bbb131 @2shortplanks initial add after running startproject
authored
11 )
12
13 MANAGERS = ADMINS
14
15 # Local time zone for this installation. Choices can be found here:
16 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
17 # although not all choices may be available on all operating systems.
18 # If running in a Windows environment this must be set to the same as your
19 # system time zone.
b4fac25 @2shortplanks changed the settings just enough to get the server to work
authored
20 TIME_ZONE = 'Europe/London'
8bbb131 @2shortplanks initial add after running startproject
authored
21
22 # Language code for this installation. All choices can be found here:
23 # http://www.i18nguy.com/unicode/language-identifiers.html
b4fac25 @2shortplanks changed the settings just enough to get the server to work
authored
24 LANGUAGE_CODE = 'en-gb'
8bbb131 @2shortplanks initial add after running startproject
authored
25
26 SITE_ID = 1
27
28 # If you set this to False, Django will make some optimizations so as not
29 # to load the internationalization machinery.
30 USE_I18N = True
31
32 # Absolute path to the directory that holds media.
33 # Example: "/home/media/media.lawrence.com/"
34 MEDIA_ROOT = ''
35
36 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
37 # trailing slash if there is a path component (optional in other cases).
38 # Examples: "http://media.lawrence.com", "http://example.com/media/"
39 MEDIA_URL = ''
40
41 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
42 # trailing slash.
43 # Examples: "http://foo.com/media/", "/media/".
44 ADMIN_MEDIA_PREFIX = '/media/'
45
46 # List of callables that know how to import templates from various sources.
47 TEMPLATE_LOADERS = (
48 'django.template.loaders.filesystem.load_template_source',
49 'django.template.loaders.app_directories.load_template_source',
50 # 'django.template.loaders.eggs.load_template_source',
51 )
52
53 MIDDLEWARE_CLASSES = (
54 'django.middleware.common.CommonMiddleware',
55 'django.contrib.sessions.middleware.SessionMiddleware',
56 'django.contrib.auth.middleware.AuthenticationMiddleware',
57 )
58
59 ROOT_URLCONF = 'tsp.urls'
60
61 TEMPLATE_DIRS = (
62 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
63 # Always use forward slashes, even on Windows.
64 # Don't forget to use absolute paths, not relative paths.
e82f482 @2shortplanks more getting admin interface to work, getting basic template renderin…
authored
65
66 # templates are in the templates dir in the same directory as this file
67 os.path.join(os.path.dirname(__file__), 'templates').replace('\\','/'),
8bbb131 @2shortplanks initial add after running startproject
authored
68 )
69
70 INSTALLED_APPS = (
71 'django.contrib.auth',
72 'django.contrib.contenttypes',
73 'django.contrib.sessions',
74 'django.contrib.sites',
7a51b03 @2shortplanks turn on admin, admin docs
authored
75 'django.contrib.admin',
76 'django.contrib.admindocs',
ffa8062 @2shortplanks simple versioned resources (doesn't actually do non-manual versioning…
authored
77 'tsp.versionedassets',
748fcb2 @2shortplanks add markdown filter support
authored
78 'tsp.markdownfilter',
a04bf8d @2shortplanks very basic model for projects
authored
79 'tsp.projects',
8bbb131 @2shortplanks initial add after running startproject
authored
80 )
Something went wrong with that request. Please try again.