djangosnippets.org: Latest snippets tagged with 'uploadhandler'https://djangosnippets.org/tags/uploadhandler/2012-01-06T18:10:51.917272-06:00Image uploader to use with file uploader from http://github.com/valums/file-uploader
2012-01-06T18:10:51.917272-06:00tgdnhttps://djangosnippets.org/snippets/2639/<p>Upload an image with file-uploader from http://github.com/valums/file-uploader
and save it to disk with the snippet and also to database if you want to</p>
Freely redistributableupload handler decorators
2008-07-11T10:49:17.248704-05:00Rozzahttps://djangosnippets.org/snippets/875/<p>In an admin custom view I had the requirement to modify the upload handlers.</p>
<p>However, the @staff_member_required locked the Files upload handlers as it uses the request.POST - see <a href="http://code.djangoproject.com/ticket/7654">Ticket 7654</a>.</p>
<p>These decorators can be used before other decorators to allow setting of the upload handlers.</p>
<p>Usage example:</p>
<pre><code>@upload_handlers_insert(0, …</code></pre>
Freely redistributable