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
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
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
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
4 matches
Mail list logo