From 656460e0abc354773117f695cf3a28bee960e2a7 Mon Sep 17 00:00:00 2001 From: Rad Date: Tue, 26 Feb 2019 00:43:05 +0000 Subject: [PATCH] Messing with millenialcaves.html or similar --- core/views_caves.py | 3 ++- templates/millenialcaves.html | 29 ++--------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/core/views_caves.py b/core/views_caves.py index 700779d..3b9360c 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -17,6 +17,7 @@ import re, urlparse from django.shortcuts import get_object_or_404 import settings + from PIL import Image, ImageDraw, ImageFont import string, os, sys, subprocess @@ -61,7 +62,7 @@ def caveindex(request): def millenialcaves(request): #RW messing around area - caves = Cave.objects.all() + return HttpResponse("It's Rad breaking things") diff --git a/templates/millenialcaves.html b/templates/millenialcaves.html index ac7da84..bbf54e1 100644 --- a/templates/millenialcaves.html +++ b/templates/millenialcaves.html @@ -5,38 +5,13 @@ {% block content %} -

Cave Index

- 123 testing 123 testing -

Notable caves

- - -

1623

- - -{% for cave in caves1623 %} - - - -{% endfor %} -
{% if cave.kataster_number %}{{ cave.kataster_number }}{% else %}{{cave.unofficial_number }}{%endif %} {{cave.official_name|safe}}
- -

1626

- - - -New Cave {% endblock %}