Hi there, I've an ImageField and it requires a upload_to path or a callable. From what I read in the docs, the callable takes two arguments, one of which is the instance of model. It is stated that the model may not have been saved in the database at this point and thus, we cannot assume to obtain a valid id number. How would I be able to save an image in a path that is related to my id or another field within the model?
Thanks! -- 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.