remove unused templatetags load

This commit is contained in:
Philip Sargent 2021-05-01 00:18:13 +01:00
parent 03160f3863
commit 63640db81f
4 changed files with 3 additions and 12 deletions

View File

@ -202,11 +202,12 @@ def ajax_test(request):
class MyForm(forms.Form): # not a model-form
title = forms.CharField(max_length=20)
scanfiles = forms.FileField() # in MEDIA_FILES
scanfiles = forms.FileField()
@login_required_if_public
def scanupload(request, wallet=None):
'''Upload one scanned image file into a wallet on /expofiles
This does NOT use a Django model linked to a Django form. Just a simple Django form.
'''
filesaved = False
actual_saved = []

View File

@ -1,9 +1,5 @@
{% extends "base.html" %}
{% load survex_markup %}
{% block title %}Tunnel files{% endblock %}
{% block content %}
<h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3>

View File

@ -1,7 +1,5 @@
<!-- svxfile.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% load survex_markup %} <!-- this is core/templatetags/survex_markup.py for syntax colouring -->
{% block title %}{{ title }}{% endblock %}
{% block head %}

View File

@ -1,9 +1,5 @@
{% extends "base.html" %}
{% load survex_markup %}
{% block title %}Survey Scans Folder{% endblock %}
{% block title %}Survey Scans Wallet {% endblock %}
{% block content %}
<h3>Survey Scans in: {{wallet.walletname}}</h3>