This commit is contained in:
Rad 2019-02-25 23:55:06 +00:00
parent 9bc3abbc79
commit b6ad46a37f
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ def caveindex(request):
caves1626 = list(Cave.objects.filter(area__short_name = "1626")) caves1626 = list(Cave.objects.filter(area__short_name = "1626"))
caves1623.sort(caveCmp) caves1623.sort(caveCmp)
caves1626.sort(caveCmp) caves1626.sort(caveCmp)
return render_with_context(request,'caveindex.html', {'newfield': caves1623, 'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True}) return render_with_context(request,'caveindex.html', {'newfield': notablecaves, 'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True})
def millenialcaves(request): def millenialcaves(request):
caves = Cave.objects.all() caves = Cave.objects.all()

View File

@ -10,7 +10,7 @@
<p>{{ newfield }}</p> <p>{{ newfield }}</p>
Testing 123, Testing 123 Testing 123, Testing 123
{% for cave in notablecaves %} {% for cave in newfield %}
{{ cave.url }}<br> {{ cave.url }}<br>
{% endfor %} {% endfor %}
Testing 123 Testing 123