News for hackers. Stuff that matters.
Re:Django powered flickr photo voting site by simplegeek on Friday March 26, 2010 @03:54PM (#1221916)
One question about your implementation. Last time I checked Django their file upload mechanism wasn't pretty, I'm not sure if you're dealing with file uploads, but did it cause any pains? Please enlighten me.
Re:Django powered flickr photo voting site by tvon on Friday March 26, 2010 @04:35PM (#1222018)
FWIW, if you're searching for a better interface, django-filebrowser uses Uploadify which works quite well.
Re:Django powered flickr photo voting site by simplegeek on Friday March 26, 2010 @04:59PM (#1222057)
Thanks for letting me know and I think by Uploadify you meant the Jquery plugin, right?
Re:Django powered flickr photo voting site by tvon on Friday March 26, 2010 @06:42PM (#1222215)
Yup, that's the one.
Re:Django powered flickr photo voting site by monological on Friday March 26, 2010 @04:19PM (#1221978)
There is no file uploading as of now. I simply have a script that pulls 500 new photos from Flickr every morning and then another script that adds 20 more photos to the frontpage every 30 mins.
Re:Django powered flickr photo voting site by truebosko on Friday March 26, 2010 @08:46PM (#1222376)
It's alright. You can also set up your own file upload handling or even setup a middleware that will push the file in chunks, and allow you to have things like an upload progress meter.
Re:Django powered flickr photo voting site by Spark23 on Friday March 26, 2010 @04:01PM (#1221928)
it's actually not that bad ... especially if you use ModelForms ... you just need to tell the FileField where to upload.