1 # -*- coding: utf-8; -*-
2 # Django settings for eventmanager project.
8 LOCAL_INSTANCE = os.path.dirname(__file__)
11 # ('Your Name', 'your_email@domain.com'),
16 DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
17 DATABASE_NAME = os.path.join(LOCAL_INSTANCE, 'db') # Or path to database file if using sqlite3.
18 DATABASE_USER = '' # Not used with sqlite3.
19 DATABASE_PASSWORD = '' # Not used with sqlite3.
20 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
21 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
23 # Local time zone for this installation. Choices can be found here:
24 # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
25 # although not all variations may be possible on all operating systems.
26 # If running in a Windows environment this must be set to the same as your
28 TIME_ZONE = 'America/Sao_Paulo'
30 # Language code for this installation. All choices can be found here:
31 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
32 # http://blogs.law.harvard.edu/tech/stories/storyReader$15
33 LANGUAGE_CODE = 'pt-br'
37 # If you set this to False, Django will make some optimizations so as not
38 # to load the internationalization machinery.
41 # Absolute path to the directory that holds media.
42 # Example: "/home/media/media.lawrence.com/"
45 # URL that handles the media served from MEDIA_ROOT.
46 # Example: "http://media.lawrence.com"
49 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
51 # Examples: "http://foo.com/media/", "/media/".
52 ADMIN_MEDIA_PREFIX = '/media/'
54 # Make this unique, and don't share it with anybody.
55 SECRET_KEY = '0o&_uplzm5hi&rt3pc+tv2+5)v5@*x5^#$l=r_bb#rx0gygv@l'
57 # List of callables that know how to import templates from various sources.
59 'django.template.loaders.filesystem.load_template_source',
60 'django.template.loaders.app_directories.load_template_source',
61 # 'django.template.loaders.eggs.load_template_source',
64 MIDDLEWARE_CLASSES = (
65 'django.middleware.common.CommonMiddleware',
66 'django.contrib.sessions.middleware.SessionMiddleware',
67 'django.contrib.auth.middleware.AuthenticationMiddleware',
68 'django.middleware.doc.XViewMiddleware',
71 ROOT_URLCONF = 'eventmanager.urls'
74 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
75 # Always use forward slashes, even on Windows.
76 # Don't forget to use absolute paths, not relative paths.
77 os.path.join(LOCAL_INSTANCE, 'templates'),
81 'django.contrib.auth',
82 'django.contrib.contenttypes',
83 'django.contrib.sessions',
84 #'django.contrib.sites',
85 'django.contrib.admin',
86 'eventmanager.eventos',
87 'eventmanager.conteudo',
90 # código mínimo já utilizado em testes de geração de boletos.