Re: ImageField upload_to not workin

2008-11-17 Thread elm
Hi Javier, I am experiencing the same problem with 'upload_to'. Have you found the problem? Thx, elm On 14 nov, 18:31, Javier <[EMAIL PROTECTED]> wrote: > Hi, > > I've create a model: > > class ImagenesLugar(models.Model): >     archivo = models.ImageField(upload_to="imageneslugar/") >     te

Re: ImageField upload_to not workin

2008-11-14 Thread Peter Bengtsson
On Nov 14, 9:31 pm, Javier <[EMAIL PROTECTED]> wrote: > Hi, > > I've create a model: > > class ImagenesLugar(models.Model): >     archivo = models.ImageField(upload_to="imageneslugar/") >     texto = models.CharField(max_length=400) > > The thing is that when i create a new instance of this mode

ImageField upload_to not workin

2008-11-14 Thread Javier
Hi, I've create a model: class ImagenesLugar(models.Model): archivo = models.ImageField(upload_to="imageneslugar/") texto = models.CharField(max_length=400) The thing is that when i create a new instance of this model and assign instance.archivo to a file then instance.archivo.path does