project/production.py
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 415 4b10ebd2e758
child 477 54e05b1ec765
child 522 01b130ea8d8d
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages

from project.settings import *

DEBUG=False
TEMPLATE_DEBUG=DEBUG

SITE_ID = 3

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.comments',
    'django.contrib.sessions',
    'django.contrib.admin',
    'django.contrib.sites',
    'django.contrib.flatpages',
    'django.contrib.markup',
    'django.contrib.sitemaps',
    'project.scipycon',
    'project.scipycon.base',
    'project.scipycon.proceedings',
    'project.scipycon.registration',
    'project.scipycon.talk',
    'project.scipycon.user',
    'tagging',
    'robots',
)

DATABASE_ENGINE = 'mysql'
DATABASE_NAME = 'scipycon'
DATABASE_USER = 'scipy'
# Imports DATABASE_PASSWORD from project/local.py that is not part of mercurial repo
from project.local import DATABASE_PASSWORD