Re: Problems with ImageField

2007-11-06 Thread Ramdas S
Remove the fwdslash in front image = models.ImageField(upload_to='toy_images/') It will work On 11/7/07, Stupid Dustbin <[EMAIL PROTECTED]> wrote: > > > Hi, > > recently I decide to try out the ImageField but it gives me some > problems. > > in my models it is > > image = models.ImageField(uplo

Re: Problems with ImageField

2007-11-06 Thread Kenneth Gonsalves
On 07-Nov-07, at 10:14 AM, Stupid Dustbin wrote: > image = models.ImageField(upload_to='/toy_images/') upload_to='toy_images/' -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because

Problems with ImageField

2007-11-06 Thread Stupid Dustbin
Hi, recently I decide to try out the ImageField but it gives me some problems. in my models it is image = models.ImageField(upload_to='/toy_images/') in my settings.py here are my media settings MEDIA_ROOT = '/media/' MEDIA_URL = MEDIA_URL = 'http://localhost:8000/media/' ADMIN_MEDIA_PREFIX

Problems with ImageField

2007-11-06 Thread Stupid Dustbin
Hi, recently I decide to try out the ImageField but it gives me some problems. in my models it is image = models.ImageField(upload_to='/toy_images/') in my settings.py here are my media settings MEDIA_ROOT = '/media/' MEDIA_URL = MEDIA_URL = 'http://localhost:8000/media/' ADMIN_MEDIA_PREFIX