Source

tinpan / settings.py

Full commit
Steve Losh a82e50f 
Steve Losh 952dde9 







Steve Losh a82e50f 

Steve Losh 952dde9 

Steve Losh a82e50f 

Steve Losh 952dde9 









Steve Losh a82e50f 
Steve Losh 952dde9 


Steve Losh a82e50f 
Steve Losh b62cedb 

Steve Losh 952dde9 
Steve Losh fbe2576 
Steve Losh 952dde9 

















Steve Losh a82e50f 
Steve Losh 952dde9 






Steve Losh a82e50f 
Steve Losh 68e97de 
Steve Losh 952dde9 
import os

DEBUG = True
TEMPLATE_DEBUG = DEBUG

ADMINS = (
    # ('Your Name', 'your_email@domain.com'),
)

BASE_DIR = os.path.dirname(__file__)

MANAGERS = ADMINS

DATABASE_ENGINE = 'sqlite3'    # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = os.path.join(BASE_DIR, 'db') # Or path to database file if using sqlite3.
DATABASE_USER = ''             # Not used with sqlite3.
DATABASE_PASSWORD = ''         # 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.

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'America/New_York'

LANGUAGE_CODE = 'en-us'
SITE_ID = 1
USE_I18N = False
MEDIA_ROOT = os.path.join(BASE_DIR, 'site-media/')
MEDIA_URL = '/site-media/'
ADMIN_MEDIA_PREFIX = '/media/'
LOGIN_URL = '/admin/'

# Make this unique, and don't share it with anybody.
SECRET_KEY = '9focewlvxae*5(p-f^l=9kp@2to*&dnsk$*o4!k+s^lhy18f1%'

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.load_template_source',
    'django.template.loaders.app_directories.load_template_source',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
)

ROOT_URLCONF = 'tinpan.urls'

TEMPLATE_DIRS = (
    os.path.join(BASE_DIR, 'templates/'),
)

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    'tinpan.integration',
)