diff options
author | Rad <radost.waszkiewicz@gmail.com> | 2019-02-25 23:51:26 +0000 |
---|---|---|
committer | Rad <radost.waszkiewicz@gmail.com> | 2019-02-25 23:51:26 +0000 |
commit | 0a214c5d4b113dda02b9ccb0fcbd22ac5ec74f41 (patch) | |
tree | bff56690d9ecc4151a2d9f423e1a280864ffa511 /core/views_caves.py | |
parent | 29c53f35ab878e8f4eb4f6ce039078016d0cf23c (diff) | |
download | troggle-0a214c5d4b113dda02b9ccb0fcbd22ac5ec74f41.tar.gz troggle-0a214c5d4b113dda02b9ccb0fcbd22ac5ec74f41.tar.bz2 troggle-0a214c5d4b113dda02b9ccb0fcbd22ac5ec74f41.zip |
Diffstat (limited to 'core/views_caves.py')
-rw-r--r-- | core/views_caves.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views_caves.py b/core/views_caves.py index c3ed0b1..24aff3a 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -51,14 +51,14 @@ def caveCmp(x, y): def caveindex(request): caves = Cave.objects.all() - newfield = str("testing123") + 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': newfield, 'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True}) + return render_with_context(request,'caveindex.html', {'newfield': caves1623, 'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True}) def millenialcaves(request): caves = Cave.objects.all() |