Re: Django and apache

2013-05-12 Thread Branko Majic
On Sun, 12 May 2013 03:17:04 -0700 (PDT) Stanley Agba wrote: > Hello guys, > please I'm kind of a noob at django and I'm trying to deploy a django > site on Apache with mod_wsgi, I am not using a virtualenv as the > server has python installed. > I added the following to my /etc/apache2/apache2.

Re: Django and apache

2013-05-12 Thread Venkatraman S
What i am going to suggest is totally orthogonal to your requirement as i am not helping you with apace+mod_wsgi. Though this generally works, but i think you should consider nginx if you are thinking about new deployments or learning this skill. And the reasons why i suggest nginx? Well.. 1. extr

Re: Django and apache

2013-05-12 Thread Stanley Agba
Thanks Guys, The server is up and running with mod_wsgi, tho the admin page is not loading with the static files. I have added this to my apache.conf file: Alias /static/admin /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin Kind of stuck after this On Sunday, 12 May 2013 11

Re: Django and apache

2013-05-12 Thread Venkatraman S
Set STATIC_ROOT in your settings.py and run 'collectstatic'. You need not mention in your /static/admin /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin in your apache conf then. On Mon, May 13, 2013 at 7:16 AM, Stanley Agba wrote: > Thanks Guys, > The server is up and running w