~mhall119/summit/site-menu

« back to all changes in this revision

Viewing changes to summit/settings.py

  • Committer: Tarmac
  • Author(s): Chris Johnston
  • Date: 2012-03-07 15:00:51 UTC
  • mfrom: (302.1.9 new-django-sites)
  • Revision ID: tarmac@nigelb.me-20120307150051-syij80gapqeuf91q
Tags: 1.0.6
[r=mhall119] Adds django sites to summit to allow for multiple different unique sites

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
    "common.context_processors.login_redirect",
115
115
    "common.context_processors.url_base",
116
116
    "common.context_processors.summit_version",
117
 
    "common.context_processors.linaro_view",
118
117
)
119
118
 
120
119
MIDDLEWARE_CLASSES = (
150
149
    'django.contrib.sessions',
151
150
    'django_openid_auth',
152
151
    'django.contrib.admin',
 
152
    'django.contrib.sites',
153
153
    'summit.schedule',
154
154
    'summit.sponsor',
155
155
    'summit.common',
201
201
    'media/js/twidenash': ('bzr+ssh://bazaar.launchpad.net/~django-foundations-dev/twidenash/2.0/', '3'),
202
202
}
203
203
 
204
 
LINARO_ONLY = False
205
 
if os.environ.get('SUMMIT_LINARO'):
206
 
    LINARO_ONLY = True
207
 
 
208
204
import logging
209
205
try:
210
206
  from local_settings import *