On Tue, Jul 22, 2008 at 5:50 PM, Chris <[EMAIL PROTECTED]> wrote:
> Right now I am simply doing this which obviously does not get the
> directory structure that I want.
>
> PATH_ROOT = os.path.join(MEDIA_ROOT, 'event-photos', ph.name)
> IMAGE_PATH = os.path.join('event-photos', ph.name)
> destinat
Hello I have an image field in my photos model that has an
upload_to='event-photos/%Y/%m/%d/' variable but I am not sure how I
can reference this using streaming uploads.
before streaming uploads you could do something like:
p = Photo(**params)
p.save_photo_file(photo.filename, photo.content)
Is
2 matches
Mail list logo