removing rest of is_preview

pull/1/head
Andromeda Yelton 2012-06-13 13:30:39 -03:00
parent d652db5c03
commit 63143bf860
2 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,6 @@
def is_preview(request):
from django.conf import settings
return {'is_preview': settings.IS_PREVIEW, 'jquery_home': settings.JQUERY_HOME, 'jquery_ui_home': settings.JQUERY_UI_HOME}
return {'jquery_home': settings.JQUERY_HOME, 'jquery_ui_home': settings.JQUERY_UI_HOME}
def count_unseen(request):
from notification.models import Notice, NoticeManager

View File

@ -221,10 +221,6 @@ TEST_RUNNER = "djcelery.contrib.test_runner.CeleryTestSuiteRunner"
import djcelery
djcelery.setup_loader()
# this suppresses functionality that should not be visible on the alpha site
# change to 0 if you want to see it on your local machine
IS_PREVIEW = True
# set once instead of in all the templates
JQUERY_HOME = "/static/js/jquery-1.7.1.min.js"
JQUERY_UI_HOME = "/static/js/jquery-ui-1.8.16.custom.min.js"