mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 10:47:22 +00:00
remove uneeded decorator as middleware does this universally
This commit is contained in:
@@ -11,7 +11,6 @@ from django.db import models
|
||||
from django.db.models import Q
|
||||
from django.http import HttpResponse
|
||||
from django.shortcuts import render
|
||||
from django.views.decorators.csrf import ensure_csrf_cookie
|
||||
|
||||
import troggle.settings as settings
|
||||
from troggle.core.models.caves import Cave, GetCaveLookup
|
||||
@@ -277,7 +276,6 @@ class SvxForm(forms.Form):
|
||||
return log
|
||||
|
||||
|
||||
@ensure_csrf_cookie
|
||||
def svx(request, survex_file):
|
||||
"""Displays a single survex file in an textarea window (using a javascript online editor to enable
|
||||
editing) with buttons which allow SAVE, check for DIFFerences from saved, and RUN (which runs the
|
||||
|
||||
Reference in New Issue
Block a user