Views module¶
- class ultimatethumb.views.ThumbnailView(**kwargs)[source]¶
Bases:
View
ThumbnailView is used to provide the thumbnails to the brower.
We don’t use a serve static view because we need to check if the requested thumbnail is available - and if not: generate one.
The view supports the X-Accel-Redirect header supported by Nginx to no really serve the binary (enabled by default if DEBUG is False).