Re: Apache, wsgi and templates

2010-07-15 Thread lupuscramus
> > Another way is to set your admin_media_prefix to something like / > admin_media/ and then in your apache conf set an alias for it. > > Alias /admin_media/ /usr/local/pyvans/lib/python2.6/site-packages/ > grappelli/media/ > > > jaymz > In fact, this way works for me. Thanks for your help

Re: Apache, wsgi and templates

2010-07-15 Thread lupuscramus
Le Thursday 15 July 2010 14:25:27, jaymzcd a écrit : > There's a few ways to do it. An easy way if your just serving up some > css, images etc is to symlink your admin_media folder in your media > directory to the media folder in your django admin install: > > [ja...@293230-app1 ~]$ ls /var/django

Apache, wsgi and templates

2010-07-15 Thread lupuscramus
Hi. I've made an app (django 1.2) which works fine for tests, on my laptop with the django built-in web server. I want to put in production my app, with Apache and mod_wsgi. I've verified I've django 1.2 on the production server. The problem is I've no images. When I connect to the admin site