# Django settings for django project.
# We include the parent development settings and override only those elements
# specific to running on the server
from pycon.settings import *
from dbinfo import *

#DEBUG = False
#TEMPLATE_DEBUG = False

SERVER_EMAIL = 'webmaster@us.pycon.org'
ADMINS = (
    # ('Your Name', 'your_email@domain.com'),
    ('Jeff Rush', 'jeff@taupro.com'),
    ('Doug Napoleone', 'pycon07-django@dougma.com'),
)

MANAGERS = ADMINS

# Local time zone for this installation. All choices can be found here:
# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
TIME_ZONE = 'America/Chicago'

# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
LANGUAGE_CODE = 'en-us'

#SITE_ID = 2

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = '/var/hostings/05pcon0912/us.pycon.org/common/'

# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com"
#MEDIA_URL = 'http://www.dougma.com/django/media/'
MEDIA_URL = 'http://us.pycon.org/common/'

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
#ADMIN_MEDIA_PREFIX = 'http://www.dougma.com/django/media/'
ADMIN_MEDIA_PREFIX = 'http://us.pycon.org/common/apps07/admin/'

# Make this unique, and don't share it with anybody.
SECRET_KEY = '^zk3b_kt4=1+prxfo4$w18jhf-88&1%1ge0q=0&%$a5fzy+y!e'

TEMPLATE_DIRS = (
    # Project-Wide Templates
    # location of pmwiki.php (etc)
    "/var/hostings/05pcon0912/us.pycon.org/pmwiki/",
)

#CACHE_BACKEND = "locmem:///?timeout=60"
#CACHE_MIDDLEWARE_SECONDS = 300
#MAX_DURATION = 180

## used by pycon.core.template_loaders
#PHP_BIN = '/usr/bin/php'
#PHP_ARGS = [ ]
#PHP_IN_SHELL = False
#PHP_THREAD_IO = False
del PHP_BIN
del PHP_ARGS
del PHP_IN_SHELL
del PHP_THREAD_IO

