> I'd like to save the image file into a folder based on the ID of the
> new instance.

I wouldn't actually recommend saving your file with the filename being the 
primary key of your model anyway. It makes it a pain if you do database dumps 
or loads and need to keep the primary key in sync with your files. I would 
recommend making a UID field on your model (which also doesn't require a 
transaction) and using that for your filename.
--
  Andy McKay, @andymckay
  Django Consulting, Training and Support

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to