forked from expo/troggle
This commit is contained in:
parent
9bc3abbc79
commit
b6ad46a37f
@ -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()
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user