Re: problem with ImageField does not show me the picture on a template

2013-05-23 Thread Ronny Villarroel Mendoza
Thanks a lot. I do the following steps: aggregate an alias to the virtual host of my site: Alias /media /var/www/fourweb/media/ and modified: settings.MEDIA_ROOT = '/var/www/fourweb/media/' settings.MEDIA_URL = 'http://fourweb.com/media/' it works!. Cheers Ronny El martes, 21 de mayo de 2013

Re: problem with ImageField does not show me the picture on a template

2013-05-22 Thread Tom Evans
On Wed, May 22, 2013 at 2:10 AM, Ronny Villarroel Mendoza wrote: > Hi all, > > I cant show the picture that I upload from the admin site. > > > settings.py: > > MEDIA_ROOT = '/var/www/fourweb/' > > > > models.py: > > class picture(models.Model): > producto_id =