Skip to content

Instantly share code, notes, and snippets.

@adborden
Created September 1, 2014 23:50
Show Gist options
  • Save adborden/ae7877a78f9f66c039e4 to your computer and use it in GitHub Desktop.
Save adborden/ae7877a78f9f66c039e4 to your computer and use it in GitHub Desktop.
olpcsf_settings.py
import os
import sys
from settings import *
SITE_ROOT = 'http://summit.olpcsf.org'
SITE_ID = 1
try:
import olpcsf_website
INSTALLED_APPS.append('olpcsf_website')
TEMPLATE_CONTEXT_PROCESSORS += (
"olpcsf_website.media_processor",
"olpcsf_website.popup_check",
)
TEMPLATE_DIRS = (olpcsf_website.TEMPLATE_DIR,) + TEMPLATE_DIRS
THEME_MEDIA = olpcsf_website.MEDIA_ROOT
except ImportError:
if not 'init-summit' in sys.argv:
print "You will need to run ./manage.py init-summit"
"to make The Summit Scheduler fully work."
else:
pass
# Days before the start of the summit when we stop allowing
# track leads to edit the schedule
TRACK_LEAD_SCHEDULE_BLACKOUT = 0
WEBCHAT_URL = 'https://kiwiirc.com/client/irc.freenode.com/%(channel_name)s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment