Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 155 lines (117 sloc) 4.861 kB
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
1 # Default Django settings. Override these with settings in the module
2 # pointed-to by the DJANGO_SETTINGS_MODULE environment variable.
3
4 ####################
5 # CORE #
6 ####################
7
8 DEBUG = False
9
10 # Whether to use the "Etag" header. This saves bandwidth but slows down performance.
11 USE_ETAGS = False
12
4672761 Removed hard-coded Adrian and Jacob in global_settings.ADMINS
adrian authored
13 # People who get code error notifications.
14 # In the format (('Full Name', 'email@domain.com'), ('Full Name', 'anotheremail@domain.com'))
15 ADMINS = ()
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
16
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
17 # Tuple of IP addresses, as strings, that:
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
18 # * See debug comments, when DEBUG is true
19 # * Receive x-headers
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
20 INTERNAL_IPS = ()
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
21
22 # Local time zone for this installation. All choices can be found here:
23 # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
24 TIME_ZONE = 'America/Chicago'
25
26 # Language code for this installation. All choices can be found here:
27 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
28 # http://blogs.law.harvard.edu/tech/stories/storyReader$15
29 LANGUAGE_CODE = 'en-us'
30
31 # Not-necessarily-technical managers of the site. They get broken link
32 # notifications and other various e-mails.
33 MANAGERS = ADMINS
34
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
35 # E-mail address that error messages come from.
36 SERVER_EMAIL = 'root@localhost'
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
37
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
38 # Whether to send broken-link e-mails.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
39 SEND_BROKEN_LINK_EMAILS = True
40
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
41 # Database connection info.
42 DATABASE_ENGINE = 'postgresql' # 'postgresql' or 'mysql'
43 DATABASE_NAME = ''
44 DATABASE_USER = ''
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
45 DATABASE_PASSWORD = ''
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
46 DATABASE_HOST = '' # Set to empty string for localhost
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
47
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
48 # Host for sending e-mail.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
49 EMAIL_HOST = 'localhost'
50
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
51 # Name of the session cookie. This can be whatever you want.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
52 AUTH_SESSION_COOKIE = 'rizzo'
53
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
54 # List of locations of the template source files, in search order.
55 TEMPLATE_DIRS = ()
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
56
8a28ba8 Added ADMIN_MEDIA_PREFIX setting instead of hard-coding /m/
adrian authored
57 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
58 # trailing slash.
59 # Examples: "http://foo.com/media/", "/media/".
60 ADMIN_MEDIA_PREFIX = '/media/'
61
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
62 # Default e-mail address to use for various automated correspondence from
63 # the site managers.
64 DEFAULT_FROM_EMAIL = 'webmaster@localhost'
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
65
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
66 # Whether to append trailing slashes to URLs.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
67 APPEND_SLASH = True
68
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
69 # Whether to prepend the "www." subdomain to URLs that don't have it.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
70 PREPEND_WWW = False
71
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
72 # List of compiled regular expression objects representing User-Agent strings
73 # that are not allowed to visit any page, systemwide. Use this for bad
74 # robots/crawlers. Here are a few examples:
75 # import re
76 # DISALLOWED_USER_AGENTS = (
77 # re.compile(r'^NaverBot.*'),
78 # re.compile(r'^EmailSiphon.*'),
79 # re.compile(r'^SiteSucker.*'),
80 # re.compile(r'^sohu-search')
81 # )
82 DISALLOWED_USER_AGENTS = ()
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
83
84 ABSOLUTE_URL_OVERRIDES = {}
85
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
86 # Tuple of strings representing allowed prefixes for the {% ssi %} tag.
87 # Example: ('/home/html', '/var/www')
88 ALLOWED_INCLUDE_ROOTS = ()
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
89
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
90 # If this is a admin settings module, this should be a list of
91 # settings modules (in the format 'foo.bar.baz') for which this admin
92 # is an admin.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
93 ADMIN_FOR = []
94
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
95 # 404s that may be ignored.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
96 IGNORABLE_404_STARTS = ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
97 IGNORABLE_404_ENDS = ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
98
99 ##############
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
100 # MIDDLEWARE #
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
101 ##############
102
103 # List of middleware classes to use. Order is important; in the request phase,
104 # this middleware classes will be applied in the order given, and in the
105 # response phase the middleware will be applied in reverse order.
106 MIDDLEWARE_CLASSES = (
107 "django.middleware.common.CommonMiddleware",
108 "django.middleware.doc.XViewMiddleware",
109 )
110
111 #########
112 # CACHE #
113 #########
114
115 # The cache backend to use. See the docstring in django.core.cache for the
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
116 # possible values.
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
117 CACHE_BACKEND = 'simple://'
118
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
119 # Set to a string like ".lawrence.com", or None for a standard domain cookie.
120 REGISTRATION_COOKIE_DOMAIN = None
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
121
122 ####################
123 # COMMENTS #
124 ####################
125
126 COMMENTS_ALLOW_PROFANITIES = False
127
128 # The group ID that designates which users are banned.
129 # Set to None if you're not using it.
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
130 COMMENTS_BANNED_USERS_GROUP = None
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
131
132 # The group ID that designates which users can moderate comments.
133 # Set to None if you're not using it.
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
134 COMMENTS_MODERATORS_GROUP = None
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
135
136 # The group ID that designates the users whose comments should be e-mailed to MANAGERS.
137 # Set to None if you're not using it.
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
138 COMMENTS_SKETCHY_USERS_GROUP = None
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
139
140 # The system will e-mail MANAGERS the first COMMENTS_FIRST_FEW comments by each
141 # user. Set this to 0 if you want to disable it.
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
142 COMMENTS_FIRST_FEW = 0
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
143
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
144 # A tuple of IP addresses that have been banned from participating in various
145 # Django-powered features.
146 BANNED_IPS = ()
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
147
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
148 # Absolute path to the directory that holds media.
149 # Example: "/home/media/media.lawrence.com/"
150 MEDIA_ROOT = ''
33db6db Imported Django from private SVN repository (created from r. 8825)
adrian authored
151
3561cb3 Removed World-Online-specific stuff from django.conf.global_settings
adrian authored
152 # URL that handles the media served from MEDIA_ROOT.
153 # Example: "http://media.lawrence.com"
154 MEDIA_URL = ''
Something went wrong with that request. Please try again.