Fix bad merge
[cascardo/ema.git] / settings.py.dist
1 """Django settings for ema project.
2 """
3 import os
4 INSTANCE = lambda *x:os.path.join(os.path.dirname(__file__), *x)
5 DEBUG = True
6 TEMPLATE_DEBUG = DEBUG
7
8 ADMINS = (
9     ('Lincoln de Sousa', 'lincoln@minaslivre.org'),
10 )
11
12 MANAGERS = ADMINS
13
14 # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
15 DATABASE_ENGINE = 'sqlite3'
16
17 # Or path to database file if using sqlite3.
18 DATABASE_NAME = INSTANCE('db')
19
20 # Not used with sqlite3.
21 DATABASE_USER = ''
22
23 # Not used with sqlite3.
24 DATABASE_PASSWORD = ''
25
26 # Set to empty string for localhost. Not used with sqlite3.
27 DATABASE_HOST = ''
28
29 # Set to empty string for default. Not used with sqlite3.
30 DATABASE_PORT = ''
31
32 # Local time zone for this installation. Choices can be found here:
33 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name although not
34 # all choices may be available on all operating systems.  If running
35 # in a Windows environment this must be set to the same as your system
36 # time zone.
37 TIME_ZONE = 'America/Sao_Paulo'
38
39 # Language code for this installation. All choices can be found here:
40 # http://www.i18nguy.com/unicode/language-identifiers.html
41 LANGUAGE_CODE = 'pt-br'
42
43 SITE_ID = 1
44
45 # If you set this to False, Django will make some optimizations so as
46 # not to load the internationalization machinery.
47 USE_I18N = True
48
49 # Absolute path to the directory that holds media.  Example:
50 # "/home/media/media.lawrence.com/"
51 MEDIA_ROOT = ''
52
53 # URL that handles the media served from MEDIA_ROOT. Make sure to use
54 # a trailing slash if there is a path component (optional in other
55 # cases).  Examples: "http://media.lawrence.com",
56 # "http://example.com/media/"
57 MEDIA_URL = ''
58
59 # URL prefix for admin media -- CSS, JavaScript and images. Make sure
60 # to use a trailing slash.  Examples: "http://foo.com/media/",
61 # "/media/".
62 ADMIN_MEDIA_PREFIX = '/media/'
63
64 # Make this unique, and don't share it with anybody.
65 SECRET_KEY = '8cs3vv%-k&(=n)4g%baxted6d86-_ibeyhli2u8&3%0k($2zn-'
66
67 # List of callables that know how to import templates from various
68 # sources.
69 TEMPLATE_LOADERS = (
70     'django.template.loaders.filesystem.load_template_source',
71     'django.template.loaders.app_directories.load_template_source',
72 #     'django.template.loaders.eggs.load_template_source',
73 )
74
75 MIDDLEWARE_CLASSES = (
76     'django.middleware.common.CommonMiddleware',
77     'django.contrib.sessions.middleware.SessionMiddleware',
78     'django.contrib.auth.middleware.AuthenticationMiddleware',
79     'django.middleware.doc.XViewMiddleware',
80 )
81
82 ROOT_URLCONF = 'ema.urls'
83
84 TEMPLATE_DIRS = (
85     # Put strings here, like "/home/html/django_templates" or
86     # "C:/www/django/templates".  Always use forward slashes, even on
87     # Windows.  Don't forget to use absolute paths, not relative
88     # paths.
89     INSTANCE('templates'),
90 )
91
92 INSTALLED_APPS = (
93     'django.contrib.auth',
94     'django.contrib.contenttypes',
95     'django.contrib.sessions',
96     'django.contrib.sites',
97     'django.contrib.admin',
98     'diario',
99     'ema.eventos',
100     'ema.contents',
101 )