X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7ef4abfc9ef8f8835f83cec90040a8d91a659d00..0f494f6c2a109155bcdc7057d0e35757cc9cbfb7:/apps/waiter/views.py?ds=sidebyside diff --git a/apps/waiter/views.py b/apps/waiter/views.py index e38bd8f1d..6e076b306 100644 --- a/apps/waiter/views.py +++ b/apps/waiter/views.py @@ -3,7 +3,10 @@ from waiter.models import WaitedFile from waiter.settings import WAITER_URL from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse +from django.views.decorators.cache import never_cache + +@never_cache def wait(request, path): if WaitedFile.exists(path): file_url = join(WAITER_URL, path)