1
0
Fork 0

Add cache to station view

pull/330/head
Nikos Roussos 2017-03-21 18:34:52 +02:00
parent 98119d3da6
commit b56cdfe1f8
No known key found for this signature in database
GPG Key ID: BADFF1767BA7C8E1
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ def stations_list(request):
{'stations': stations, 'form': form, 'antennas': antennas})
@cache_page(settings.CACHE_TTL)
def station_view(request, id):
"""View for single station page."""
station = get_object_or_404(Station, id=id)