1 | # -*- coding: utf-8 -*-
|
---|
2 | # Django settings for longinus project.
|
---|
3 |
|
---|
4 | DEBUG = True
|
---|
5 | TEMPLATE_DEBUG = DEBUG
|
---|
6 |
|
---|
7 | ADMINS = (
|
---|
8 | ('Jean-Francois Roy', 'bahamut@macstorm.org'),
|
---|
9 | )
|
---|
10 |
|
---|
11 | MANAGERS = ADMINS
|
---|
12 |
|
---|
13 | DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
|
---|
14 | DATABASE_NAME = './longinus_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.
|
---|
19 |
|
---|
20 | # Local time zone for this installation. All choices can be found here:
|
---|
21 | # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
|
---|
22 | TIME_ZONE = 'America/Montreal'
|
---|
23 |
|
---|
24 | # Configure date and time formats to be sane
|
---|
25 | DATETIME_FORMAT = 'F d, Y @ H:i:s O'
|
---|
26 | TIME_FORMAT = 'H:i:s O'
|
---|
27 |
|
---|
28 | # Language code for this installation. All choices can be found here:
|
---|
29 | # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
|
---|
30 | # http://blogs.law.harvard.edu/tech/stories/storyReader$15
|
---|
31 | LANGUAGE_CODE = 'en-us'
|
---|
32 |
|
---|
33 | SITE_ID = 1
|
---|
34 |
|
---|
35 | # Absolute path to the directory that holds media.
|
---|
36 | # Example: "/home/media/media.lawrence.com/"
|
---|
37 | MEDIA_ROOT = './media'
|
---|
38 |
|
---|
39 | # URL that handles the media served from MEDIA_ROOT.
|
---|
40 | # Example: "http://media.lawrence.com"
|
---|
41 | MEDIA_URL = 'http://127.0.0.1:8000/media/'
|
---|
42 |
|
---|
43 | # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
|
---|
44 | # trailing slash.
|
---|
45 | # Examples: "http://foo.com/media/", "/media/".
|
---|
46 | ADMIN_MEDIA_PREFIX = '/media/'
|
---|
47 |
|
---|
48 | # Make this unique, and don't share it with anybody.
|
---|
49 | SECRET_KEY = '<removed>'
|
---|
50 |
|
---|
51 | # List of callables that know how to import templates from various sources.
|
---|
52 | TEMPLATE_LOADERS = (
|
---|
53 | 'django.template.loaders.filesystem.load_template_source',
|
---|
54 | 'django.template.loaders.app_directories.load_template_source',
|
---|
55 | # 'django.template.loaders.eggs.load_template_source',
|
---|
56 | )
|
---|
57 |
|
---|
58 | MIDDLEWARE_CLASSES = (
|
---|
59 | 'django.middleware.gzip.GZipMiddleware',
|
---|
60 | 'django.middleware.common.CommonMiddleware',
|
---|
61 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
62 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
63 | 'django.middleware.doc.XViewMiddleware',
|
---|
64 | 'django.middleware.transaction.TransactionMiddleware',
|
---|
65 | )
|
---|
66 |
|
---|
67 | ROOT_URLCONF = 'longinus.urls'
|
---|
68 |
|
---|
69 | TEMPLATE_DIRS = (
|
---|
70 | # Put strings here, like "/home/html/django_templates".
|
---|
71 | # Always use forward slashes, even on Windows.
|
---|
72 | './templates',
|
---|
73 | )
|
---|
74 |
|
---|
75 | INSTALLED_APPS = (
|
---|
76 | 'django.contrib.auth',
|
---|
77 | 'django.contrib.contenttypes',
|
---|
78 | 'django.contrib.sessions',
|
---|
79 | 'django.contrib.sites',
|
---|
80 | 'django.contrib.admin',
|
---|
81 | 'longinus.raids',
|
---|
82 | 'longinus.officers',
|
---|
83 | )
|
---|