need is_preview to be in our context again
parent
13a5d8cb93
commit
c2d851de18
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue