removing rest of is_preview
parent
d652db5c03
commit
63143bf860
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue