mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-19 22:41:00 +00:00
PEP8 fix
This commit is contained in:
parent
e292f87e53
commit
297ebd1148
1 changed files with 1 additions and 2 deletions
|
|
@ -1,12 +1,11 @@
|
|||
from django.shortcuts import get_object_or_404
|
||||
from django.http import HttpResponse
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.views.decorators.cache import cache_control
|
||||
|
||||
from wagtail.wagtailimages.models import get_image_model, Filter
|
||||
from wagtail.wagtailimages.utils.crypto import verify_signature
|
||||
|
||||
from django.views.decorators.cache import cache_control
|
||||
|
||||
|
||||
@cache_control(max_age=60*60*24*60) # Cache for 60 days
|
||||
def serve(request, signature, image_id, filter_spec):
|
||||
|
|
|
|||
Loading…
Reference in a new issue