From 8097893eeec62033adf61d34eb10fa144b6f391e Mon Sep 17 00:00:00 2001 From: Holger Sielaff Date: Thu, 25 Sep 2025 08:48:52 +0200 Subject: [PATCH] csrf_exempt for create_container --- frontend/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/views.py b/frontend/views.py index ef81b8b..cd35022 100644 --- a/frontend/views.py +++ b/frontend/views.py @@ -8,6 +8,7 @@ from django.db.models import Q from django.forms import model_to_dict from django.http import HttpResponse, HttpResponseForbidden from django.shortcuts import get_object_or_404, redirect, render +from django.views.decorators.csrf import csrf_exempt from django_proxmox_mikrotik.settings import ProxmoxConfig from lib.decorators import readonly @@ -355,6 +356,7 @@ def delete_container(request, container_id): }) +@csrf_exempt def create_container(request): user_profile = request.user.profile