pull/2583/merge
Karl Hobley 2016-05-17 16:39:11 +01:00
rodzic 58dfea096e
commit f8d7276800
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -98,6 +98,8 @@ method in your urls configuration:
url(r'^images/([^/]*)/(\d*)/([^/]*)/[^/]*$', ServeView.as_view(action='redirect'), name='wagtailimages_serve'),
]
.. _image_serve_view_sendfile:
Integration with django-sendfile
--------------------------------

Wyświetl plik

@ -37,6 +37,7 @@ This view, which is used for requesting image thumbnails from an external app, h
- It now takes an optional extra path component which can be used for appending a filename to the end of the URL
- The key is now configurable on the view so you don't have to use your project's ``SECRET_KEY``
- It's been refactored into a class based view and you can now create multiple serve views with different image models and/or keys
- It now supports :ref:`serving image files using django-sendfile <image_serve_view_sendfile>` (Thanks to Yannick Chabbert for implementing this)
Minor features
~~~~~~~~~~~~~~