On 1/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Dear ALL
> I still have a problem with the picture feild here what i have done
> 1- I write this in my page.py:  full_image = meta.ImageField(upload_to
> ="/media/images/", null = True, blank = True )
> 2-i opened the admin page and load the pictuer i need
> i found that it creat a folder and it's path is /media/images/[my
> picture]
> so why the path is not realtive to the document root

upload_to is calculated relative to MEDIA_ROOT in your settings.py
file. Have you set MEDIA_ROOT to your webserver's document root?

Joseph

Reply via email to