Widget: Fix language on first iframe request

This commit is contained in:
Raphael Michel
2024-01-26 11:44:02 +01:00
parent 734b376e05
commit eac88b5ef7
5 changed files with 52 additions and 21 deletions

View File

@@ -20,7 +20,9 @@
# <https://www.gnu.org/licenses/>.
#
from rest_framework import exceptions
from rest_framework.authentication import SessionAuthentication as BaseSessionAuthentication
from rest_framework.authentication import (
SessionAuthentication as BaseSessionAuthentication,
)
from pretix.multidomain.middlewares import CsrfViewMiddleware