Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding: utf-8
- import os
- from distutils.sysconfig import get_python_lib
- DPIA_BASE_PATH = os.getenv('DPIA_BASE_PATH')
- DEBUG = True
- TEMPLATE_DEBUG = DEBUG
- DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
- DATABASE_NAME = 'dpia' # Or path to database file if using sqlite3.
- DATABASE_USER = 'root' # Not used with sqlite3.
- DATABASE_PASSWORD = 'hola123' # Not used with sqlite3.
- DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
- DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
- TEMPLATE_DIRS = (
- str(DPIA_BASE_PATH) + 'admin/templates',
- str(DPIA_BASE_PATH) + 'templates',
- '/usr/share/pyshared/' # Para usar los templates predeterminados de Django como última opción
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement