[mezzanine-users] error happened when serving two mezzanine sites with nginx+uwsgi

2014-08-27 Thread Wesley
Hi guys, I hit a problem when using nginx+uwsgi to serve two mezzanine sites upon one VPS. I use virtualenvwrapper to create a env with python2.7.6, note that system(centos6.5) has default python2.6. Here is my uwsgi.xml: 127.0.0.1:9000 100 true /usr/local/nginx/uwsgi.pid 8 /hom

Re: [mezzanine-users] error happened when serving two mezzanine sites with nginx+uwsgi

2014-08-27 Thread Matt Gushee
Hi, Wesley-- I can't claim to be a uWSGI expert (can anyone? ;-) ), but I do have a mezzanine site running with uWSGI & nginx. My setup is quite different from yours (e.g. my OS is FreeBSD, and though I have only one Django-based site, I'm also hosting a couple of other sites that are not Python-b

Re: [mezzanine-users] error happened when serving two mezzanine sites with nginx+uwsgi

2014-08-27 Thread Wesley
Hi Matt, Thanks for your answer. I solved the problem. The reason is my uwsgi is installed upon system python2.6, I haven't installed for the virtual env python2.7. So, to fix this: 1. activate the virtual env 2. pip install uwsgi 3. run uwsgi from the virtual env Thanks. Wesley 在 2014年8月28日

Re: [mezzanine-users] PyCon APAC Keynote on Mezzanine

2014-08-27 Thread Mario Gudelj
Thanks for sharing this Stephen. I found it interesting. It's good to know how Mezzanine evolved into what it is now. Mario Gudelj M: 0415 193775 E: ma...@twoblokeswithapostie.com W: www.twoblokeswithapostie.com S: mariogugi On Sat, Aug 23, 2014 at 10:28 AM, Stephen McDonald wrote: > The re

[mezzanine-users] Multi Tenancy is only using one base.html

2014-08-27 Thread Jesse Ramirez
I'm trying to set up a project using multi tenancy. I've set up HOST_THEMES correctly. The issue is each app has it's own base.html that's not being called. Instead only the topmost app in INSTALLED_APPS's base.html is being called. So all themes are extending a single base.html not their own.