2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 06:27:34 +00:00

remove uneeded decorator as middleware does this universally

This commit is contained in:
2025-01-24 22:23:52 +00:00
parent 27cc23fe3b
commit 1502ffb0c4
4 changed files with 0 additions and 8 deletions

View File

@@ -7,7 +7,6 @@ from django.http import JsonResponse
from django.shortcuts import render
from django.template import loader
from django.urls import reverse
from django.views.decorators.csrf import ensure_csrf_cookie
from PIL import Image
import troggle.settings as settings
@@ -92,7 +91,6 @@ def reorient_image(img, exif_dict):
@login_required_if_public
@ensure_csrf_cookie
def new_image_form(request, path):
"""Manages a form to upload new images"""
directory = get_dir(path)