On Friday 09 July 2010 03:16:28 TheIvIaxx wrote:
> I'd like to save the image file into a folder based on the ID of the
> new instance.  The only thing i can think of is to create the new
> folder mid transaction.  I guess another way to do it would be to save
> a new instance with a temp file or set it to null=True, then create
> the folder, but that seems bad to me.
> 

there is a save(commit=False) which should do the trick.
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC

-- 
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