From 0c63156428aabed814b18ceafe616c91f3a3c7d3 Mon Sep 17 00:00:00 2001 From: Rad Date: Mon, 25 Feb 2019 23:46:52 +0000 Subject: [PATCH] --- core/views_caves.py | 2 +- templates/caveindex.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/views_caves.py b/core/views_caves.py index c1013f3..55fbf8e 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -51,7 +51,7 @@ def caveCmp(x, y): def caveindex(request): caves = Cave.objects.all() - newfield = "testing123" + newfield = str("testing123") notablecavehrefs = settings.NOTABLECAVESHREFS notablecaves = [Cave.objects.get(kataster_number=kataster_number) for kataster_number in notablecavehrefs ] caves1623 = list(Cave.objects.filter(area__short_name = "1623")) diff --git a/templates/caveindex.html b/templates/caveindex.html index 5bbf2f3..6b1f593 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -9,6 +9,9 @@

{{ newfield }}

+Testing 123, Testing 123 +{{ newfield }} +

Notable caves