On Fri, Feb 5, 2010 at 12:39 PM, eaman <andreamad...@gmail.com> wrote: > I'd like to upload the Photos (models.ImageField(upload_to='foto') ) > to ``dir / foto``, with 'dir' taken from the class Gallery. > My question is: how can i build the path "(upload_to='foto')" with > Gallery.dir ?
http://dpaste.com/hold/155132/ That should do it -- 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.