CSP: Exclude PDF editor (just doesn't work in FF)

This commit is contained in:
Raphael Michel
2017-09-28 18:44:12 +02:00
parent 29b157f287
commit 784f6e703c
4 changed files with 11 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
import json
import logging
from django.http import (
HttpResponseBadRequest, HttpResponse)
from django.http import HttpResponse, HttpResponseBadRequest
from django.views.decorators.csrf import csrf_exempt
logger = logging.getLogger('pretix.security.csp')