need is_preview to be in our context again

pull/1/head
Andromeda Yelton 2012-10-15 10:40:33 -04:00
parent 13a5d8cb93
commit c2d851de18
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
def is_preview(request):
from django.conf import settings
return {'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, 'is_preview': settings.IS_PREVIEW}
def count_unseen(request):
from notification.models import Notice, NoticeManager