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