mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fixed #29 -- "Shop is live" flag
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from django.conf import settings
|
||||
from django.core.urlresolvers import Resolver404, resolve
|
||||
|
||||
from .signals import html_head
|
||||
@@ -21,5 +22,6 @@ def contextprocessor(request):
|
||||
for receiver, response in html_head.send(request.event, request=request):
|
||||
_html_head.append(response)
|
||||
ctx['html_head'] = "".join(_html_head)
|
||||
ctx['site_url'] = settings.SITE_URL
|
||||
|
||||
return ctx
|
||||
|
||||
Reference in New Issue
Block a user