1 """Django settings for ema project.
4 INSTANCE = lambda *x:os.path.join(os.path.dirname(__file__), *x)
9 ('Lincoln de Sousa', 'lincoln@minaslivre.org'),
14 # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
15 DATABASE_ENGINE = 'sqlite3'
17 # Or path to database file if using sqlite3.
18 DATABASE_NAME = INSTANCE('db')
20 # Not used with sqlite3.
23 # Not used with sqlite3.
24 DATABASE_PASSWORD = ''
26 # Set to empty string for localhost. Not used with sqlite3.
29 # Set to empty string for default. Not used with sqlite3.
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
37 TIME_ZONE = 'America/Sao_Paulo'
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'
45 # If you set this to False, Django will make some optimizations so as
46 # not to load the internationalization machinery.
49 # Absolute path to the directory that holds media. Example:
50 # "/home/media/media.lawrence.com/"
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/"
59 # URL prefix for admin media -- CSS, JavaScript and images. Make sure
60 # to use a trailing slash. Examples: "http://foo.com/media/",
62 ADMIN_MEDIA_PREFIX = '/media/'
64 # Make this unique, and don't share it with anybody.
65 SECRET_KEY = '8cs3vv%-k&(=n)4g%baxted6d86-_ibeyhli2u8&3%0k($2zn-'
67 # List of callables that know how to import templates from various
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',
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',
82 ROOT_URLCONF = 'ema.urls'
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
89 INSTANCE('templates'),
93 'django.contrib.auth',
94 'django.contrib.contenttypes',
95 'django.contrib.sessions',
96 'django.contrib.sites',
97 'django.contrib.admin',