Hi,
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
is 42
http://www.sebastienbillion.com/ <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!
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.