Re: ImageFile not prepending MEDIA_ROOT onto upload_to folder location

2008-01-20 Thread Kenneth Gonsalves
On 21-Jan-08, at 11:37 AM, oak wrote: > (upload_to="/albums" upload_to="albums' - no '/' -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ Foss Conference for the common man: http://registration.fossconf.in/web/

ImageFile not prepending MEDIA_ROOT onto upload_to folder location

2008-01-20 Thread oak
For some reason when I upload files, they are getting put straight into my c:/ root rather than the MEDIA_ROOT specified in the setting.py. ie. If I have this in my model: image = models.ImageField(upload_to="/albums",blank=True, null=True) it will create a directory c:\albums and upload the