diff options
author | Rad <radost.waszkiewicz@gmail.com> | 2019-02-26 00:00:34 +0000 |
---|---|---|
committer | Rad <radost.waszkiewicz@gmail.com> | 2019-02-26 00:00:34 +0000 |
commit | 3254ba14436059be230ba51745708db22f640415 (patch) | |
tree | 6cb046523b5988484c58e32780c258bad516add4 /core/views_caves.py | |
parent | 4c3d0ce7fa8b2516411bd09918b05212a68a0b05 (diff) | |
download | troggle-3254ba14436059be230ba51745708db22f640415.tar.gz troggle-3254ba14436059be230ba51745708db22f640415.tar.bz2 troggle-3254ba14436059be230ba51745708db22f640415.zip |
Diffstat (limited to 'core/views_caves.py')
-rw-r--r-- | core/views_caves.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/views_caves.py b/core/views_caves.py index f57a9f9..f8420d7 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -51,14 +51,13 @@ def caveCmp(x, y): def caveindex(request): caves = Cave.objects.all() - newfield = "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")) caves1626 = list(Cave.objects.filter(area__short_name = "1626")) caves1623.sort(caveCmp) caves1626.sort(caveCmp) - return render_with_context(request,'caveindex.html', {'newfield': notablecaves, 'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True}) + return render_with_context(request,'caveindex.html', {'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True}) def millenialcaves(request): caves = Cave.objects.all() |