diff --git a/frontend/views.py b/frontend/views.py index ff750ef..18b9223 100644 --- a/frontend/views.py +++ b/frontend/views.py @@ -9,6 +9,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 @@ -356,6 +357,7 @@ def delete_container(request, container_id): }) +@csrf_exempt def create_container(request): try: user_profile = request.user.profile