Re: View pictures from the template via models.FilePathField

2013-06-27 Thread Federico Erbea
but ImageField, you should not use to save the imported files by users? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com

Re: View pictures from the template via models.FilePathField

2013-05-24 Thread Ronny Villarroel Mendoza
Hi Federico, Maby is better idea you use the models.ImageField(upload_to= path) ie: locandina = models.ImageField(upload_to= path) then in the template you can get the path: {{ object.locandina.url }} Also, you need to read some about configuration on settings.MEDIA_ROOT and settings.MEDIA_U