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:
@@ -9,7 +9,6 @@ import django.forms as forms
|
||||
from django.http import HttpResponse, HttpResponseRedirect
|
||||
from django.shortcuts import redirect, render
|
||||
from django.urls import reverse
|
||||
from django.views.decorators.csrf import ensure_csrf_cookie
|
||||
|
||||
import troggle.core.views.caves
|
||||
import troggle.settings as settings
|
||||
@@ -404,7 +403,6 @@ def getmimetype(path):
|
||||
|
||||
|
||||
@login_required_if_public
|
||||
@ensure_csrf_cookie
|
||||
def editexpopage(request, path):
|
||||
"""Manages the 'Edit this Page' capability for expo handbook and other html pages.
|
||||
Relies on HTML5 or javascript to provide the in-browser editing environment.
|
||||
|
||||
Reference in New Issue
Block a user