djangosnippets.org: Latest snippets tagged with 'download-file'https://djangosnippets.org/tags/download-file/2009-09-01T00:41:47.750462-05:00A view for downloading attachment
2009-09-01T00:41:47.750462-05:00achimnolhttps://djangosnippets.org/snippets/1710/<p>This view snippet is a helper for implementing file download handlers. There is a standard to encode Unicode filenames properly, but many browsers have different protocols.</p>
<p>The default encoding is assumed to be UTF-8.</p>
Freely redistributable