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