diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-05-01 00:18:13 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-05-01 00:18:13 +0100 |
commit | 63640db81ff16d75137e1ab7d317c90ef4bf91b0 (patch) | |
tree | b4c2a91aa8a290dafd6c898e8869f73d258da403 | |
parent | 03160f3863a5ca16f07d82b7b11d6b1b83f50f8f (diff) | |
download | troggle-63640db81ff16d75137e1ab7d317c90ef4bf91b0.tar.gz troggle-63640db81ff16d75137e1ab7d317c90ef4bf91b0.tar.bz2 troggle-63640db81ff16d75137e1ab7d317c90ef4bf91b0.zip |
remove unused templatetags load
-rw-r--r-- | core/views/other.py | 3 | ||||
-rw-r--r-- | templates/dwgfiles.html | 4 | ||||
-rw-r--r-- | templates/svxfile.html | 2 | ||||
-rw-r--r-- | templates/wallet.html | 6 |
4 files changed, 3 insertions, 12 deletions
diff --git a/core/views/other.py b/core/views/other.py index 0923e33..0d096f2 100644 --- a/core/views/other.py +++ b/core/views/other.py @@ -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 = [] diff --git a/templates/dwgfiles.html b/templates/dwgfiles.html index d850976..f2ca2d0 100644 --- a/templates/dwgfiles.html +++ b/templates/dwgfiles.html @@ -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> diff --git a/templates/svxfile.html b/templates/svxfile.html index d0d03ed..5725b29 100644 --- a/templates/svxfile.html +++ b/templates/svxfile.html @@ -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 %} diff --git a/templates/wallet.html b/templates/wallet.html index 7301ce3..51ac298 100644 --- a/templates/wallet.html +++ b/templates/wallet.html @@ -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> |