http://www.nitinh.com/2009/02/django-example-filefield-and-imagefield/
It the same for ImageField
BILLION Sébastien
the Answer to the ultimate question of life, the universe and everything is42
http://www.sebastienbillion.com/
the Answer to the ultimate question of life, the universe and everything is
http://www.sebastienbillion.com/
Le 06/10/2011 05:22, Ian a écrit :
Hey Everyone, I'm new to django, but I love it so far! I'm trying to figure out how to upload an image (restrict it to images only) and resave it as a different name. Eventually, I'll want to upload it to S3, but for now, I'm just testing it on my computer with runserver (so I'm not sure where it should be saving it). There are hundreds of tutorials for this online, but they are either outdated or more complex than I'm looking for. Right now, I have a template with the form in it. I'm not sure where to go from there. Thanks so much! Sorry if this question is too basic!
No comments:
Post a Comment