49 ('da', gettext_noop('Danish')), |
50 ('da', gettext_noop('Danish')), |
50 ('de', gettext_noop('German')), |
51 ('de', gettext_noop('German')), |
51 ('el', gettext_noop('Greek')), |
52 ('el', gettext_noop('Greek')), |
52 ('en', gettext_noop('English')), |
53 ('en', gettext_noop('English')), |
53 ('es', gettext_noop('Spanish')), |
54 ('es', gettext_noop('Spanish')), |
|
55 ('et', gettext_noop('Estonian')), |
54 ('es-ar', gettext_noop('Argentinean Spanish')), |
56 ('es-ar', gettext_noop('Argentinean Spanish')), |
55 ('eu', gettext_noop('Basque')), |
57 ('eu', gettext_noop('Basque')), |
56 ('fa', gettext_noop('Persian')), |
58 ('fa', gettext_noop('Persian')), |
57 ('fi', gettext_noop('Finnish')), |
59 ('fi', gettext_noop('Finnish')), |
58 ('fr', gettext_noop('French')), |
60 ('fr', gettext_noop('French')), |
67 ('ka', gettext_noop('Georgian')), |
69 ('ka', gettext_noop('Georgian')), |
68 ('ko', gettext_noop('Korean')), |
70 ('ko', gettext_noop('Korean')), |
69 ('km', gettext_noop('Khmer')), |
71 ('km', gettext_noop('Khmer')), |
70 ('kn', gettext_noop('Kannada')), |
72 ('kn', gettext_noop('Kannada')), |
71 ('lv', gettext_noop('Latvian')), |
73 ('lv', gettext_noop('Latvian')), |
|
74 ('lt', gettext_noop('Lithuanian')), |
72 ('mk', gettext_noop('Macedonian')), |
75 ('mk', gettext_noop('Macedonian')), |
73 ('nl', gettext_noop('Dutch')), |
76 ('nl', gettext_noop('Dutch')), |
74 ('no', gettext_noop('Norwegian')), |
77 ('no', gettext_noop('Norwegian')), |
75 ('pl', gettext_noop('Polish')), |
78 ('pl', gettext_noop('Polish')), |
76 ('pt', gettext_noop('Portugese')), |
79 ('pt', gettext_noop('Portugese')), |
218 SECRET_KEY = '' |
224 SECRET_KEY = '' |
219 |
225 |
220 # Path to the "jing" executable -- needed to validate XMLFields |
226 # Path to the "jing" executable -- needed to validate XMLFields |
221 JING_PATH = "/usr/bin/jing" |
227 JING_PATH = "/usr/bin/jing" |
222 |
228 |
|
229 # Default file storage mechanism that holds media. |
|
230 DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' |
|
231 |
223 # Absolute path to the directory that holds media. |
232 # Absolute path to the directory that holds media. |
224 # Example: "/home/media/media.lawrence.com/" |
233 # Example: "/home/media/media.lawrence.com/" |
225 MEDIA_ROOT = '' |
234 MEDIA_ROOT = '' |
226 |
235 |
227 # URL that handles the media served from MEDIA_ROOT. |
236 # URL that handles the media served from MEDIA_ROOT. |
228 # Example: "http://media.lawrence.com" |
237 # Example: "http://media.lawrence.com" |
229 MEDIA_URL = '' |
238 MEDIA_URL = '' |
230 |
239 |
|
240 # List of upload handler classes to be applied in order. |
|
241 FILE_UPLOAD_HANDLERS = ( |
|
242 'django.core.files.uploadhandler.MemoryFileUploadHandler', |
|
243 'django.core.files.uploadhandler.TemporaryFileUploadHandler', |
|
244 ) |
|
245 |
|
246 # Maximum size, in bytes, of a request before it will be streamed to the |
|
247 # file system instead of into memory. |
|
248 FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440 # i.e. 2.5 MB |
|
249 |
|
250 # Directory in which upload streamed files will be temporarily saved. A value of |
|
251 # `None` will make Django use the operating system's default temporary directory |
|
252 # (i.e. "/tmp" on *nix systems). |
|
253 FILE_UPLOAD_TEMP_DIR = None |
|
254 |
|
255 # The numeric mode to set newly-uploaded files to. The value should be a mode |
|
256 # you'd pass directly to os.chmod; see http://docs.python.org/lib/os-file-dir.html. |
|
257 FILE_UPLOAD_PERMISSIONS = None |
|
258 |
231 # Default formatting for date objects. See all available format strings here: |
259 # Default formatting for date objects. See all available format strings here: |
232 # http://www.djangoproject.com/documentation/templates/#now |
260 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now |
233 DATE_FORMAT = 'N j, Y' |
261 DATE_FORMAT = 'N j, Y' |
234 |
262 |
235 # Default formatting for datetime objects. See all available format strings here: |
263 # Default formatting for datetime objects. See all available format strings here: |
236 # http://www.djangoproject.com/documentation/templates/#now |
264 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now |
237 DATETIME_FORMAT = 'N j, Y, P' |
265 DATETIME_FORMAT = 'N j, Y, P' |
238 |
266 |
239 # Default formatting for time objects. See all available format strings here: |
267 # Default formatting for time objects. See all available format strings here: |
240 # http://www.djangoproject.com/documentation/templates/#now |
268 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now |
241 TIME_FORMAT = 'P' |
269 TIME_FORMAT = 'P' |
242 |
270 |
243 # Default formatting for date objects when only the year and month are relevant. |
271 # Default formatting for date objects when only the year and month are relevant. |
244 # See all available format strings here: |
272 # See all available format strings here: |
245 # http://www.djangoproject.com/documentation/templates/#now |
273 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now |
246 YEAR_MONTH_FORMAT = 'F Y' |
274 YEAR_MONTH_FORMAT = 'F Y' |
247 |
275 |
248 # Default formatting for date objects when only the month and day are relevant. |
276 # Default formatting for date objects when only the month and day are relevant. |
249 # See all available format strings here: |
277 # See all available format strings here: |
250 # http://www.djangoproject.com/documentation/templates/#now |
278 # http://docs.djangoproject.com/en/dev/ref/templates/builtins/#now |
251 MONTH_DAY_FORMAT = 'F j' |
279 MONTH_DAY_FORMAT = 'F j' |
252 |
280 |
253 # Do you want to manage transactions manually? |
281 # Do you want to manage transactions manually? |
254 # Hint: you really don't! |
282 # Hint: you really don't! |
255 TRANSACTIONS_MANAGED = False |
283 TRANSACTIONS_MANAGED = False |
274 'django.contrib.sessions.middleware.SessionMiddleware', |
302 'django.contrib.sessions.middleware.SessionMiddleware', |
275 'django.contrib.auth.middleware.AuthenticationMiddleware', |
303 'django.contrib.auth.middleware.AuthenticationMiddleware', |
276 # 'django.middleware.http.ConditionalGetMiddleware', |
304 # 'django.middleware.http.ConditionalGetMiddleware', |
277 # 'django.middleware.gzip.GZipMiddleware', |
305 # 'django.middleware.gzip.GZipMiddleware', |
278 'django.middleware.common.CommonMiddleware', |
306 'django.middleware.common.CommonMiddleware', |
279 'django.middleware.doc.XViewMiddleware', |
|
280 ) |
307 ) |
281 |
308 |
282 ############ |
309 ############ |
283 # SESSIONS # |
310 # SESSIONS # |
284 ############ |
311 ############ |
287 SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks). |
314 SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks). |
288 SESSION_COOKIE_DOMAIN = None # A string like ".lawrence.com", or None for standard domain cookie. |
315 SESSION_COOKIE_DOMAIN = None # A string like ".lawrence.com", or None for standard domain cookie. |
289 SESSION_COOKIE_SECURE = False # Whether the session cookie should be secure (https:// only). |
316 SESSION_COOKIE_SECURE = False # Whether the session cookie should be secure (https:// only). |
290 SESSION_COOKIE_PATH = '/' # The path of the session cookie. |
317 SESSION_COOKIE_PATH = '/' # The path of the session cookie. |
291 SESSION_SAVE_EVERY_REQUEST = False # Whether to save the session data on every request. |
318 SESSION_SAVE_EVERY_REQUEST = False # Whether to save the session data on every request. |
292 SESSION_EXPIRE_AT_BROWSER_CLOSE = False # Whether sessions expire when a user closes his browser. |
319 SESSION_EXPIRE_AT_BROWSER_CLOSE = False # Whether a user's session cookie expires when the Web browser is closed. |
293 SESSION_ENGINE = 'django.contrib.sessions.backends.db' # The module to store session data |
320 SESSION_ENGINE = 'django.contrib.sessions.backends.db' # The module to store session data |
294 SESSION_FILE_PATH = None # Directory to store session files if using the file session module. If None, the backend will use a sensible default. |
321 SESSION_FILE_PATH = None # Directory to store session files if using the file session module. If None, the backend will use a sensible default. |
295 |
322 |
296 ######### |
323 ######### |
297 # CACHE # |
324 # CACHE # |