djangosnippets.org: Latest snippets posted by ebartelshttps://djangosnippets.org/users/ebartels/2008-04-02T20:56:59.804345-05:00ebartelsAjax progress bar
2008-04-02T20:56:59.804345-05:00ebartelshttps://djangosnippets.org/snippets/679/<p>This snippet is an example of an ajax progress bar (using jquery) that you might use in conjunction with <a href="http://www.djangosnippets.org/snippets/678/">http://www.djangosnippets.org/snippets/678/</a>.</p>
<ol>
<li>Generates a uuid and adds X-Progress-ID to the forms action url.</li>
<li>Adds the progress bar to the page. (you'll have to add some css styling for this)</li>
<li>Makes period …</li></ol>
Freely redistributableUpload progress handler using cache framework
2008-04-02T19:03:47.901338-05:00ebartelshttps://djangosnippets.org/snippets/678/<p>Ticket <a href="http://code.djangoproject.com/ticket/2070">#2070</a> allows you to create your own file upload handlers. Here's an example handler that tracks a file's upload so you might display a progress meter after form submission.</p>
<p>The snippet has two parts, the upload handler which tracks progress, and an upload_progress view used to report back to …</p>
Freely redistributable