Friday, October 24, 2008

Ajax upload progress bars with jquery, django and nginx

by Kevin Fricovsky

I knew something like this would pop-up eventually. Taking advantage of the new file handling in Django 1.0 and a borrowing a few concepts from a couple of code snippets from djangosnippets.org, ithe FairView Computing team blogged about their creative solution for an ajax upload progress bars with jquery, django and nginx... downloadable code and all.

Bookmark and Share

Continue reading… Join the Discussion, 0 people have left comments.

Thursday, September 11, 2008

Validating File Uploads with Django 1.0 (updated)

by Kevin Fricovsky

Rudolf Olah published an update to his original "Validating File Uploads with Django" post. This one is updated to include changes in Django 1.0 For those looking to validate on specific content types this is a good start, although I'd probably make the content types allowed something managed in the admin itself as well (via a custom Model). With Olah's solution you'd need to stop and start the server if you want to add a new valid content type. Not horrible, but not completely dynamic either. Like I said this is a good start.

Bookmark and Share

Continue reading… Join the Discussion, 0 people have left comments.

Tags/Topics view all