I'll show you the contents of my xml and py files used for uWSGI:

uwsgi.xml
---
<uwsgi>
    <pythonpath>/usr/local/django/voxi_production/</pythonpath>
    <app mountpoint="/">
        <script>django_wsgi</script>
    </app>
</uwsgi>

uwsgi.py
---
import os, sys
import django.core.handlers.wsgi

sys.path.append('/usr/local/django/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'voxi_production.settings'
application = django.core.handlers.wsgi.WSGIHandler()

# Mount application to a URL
applications = {'/': application }

In Cherokee I use this source: /usr/bin/uwsgi -M -p 4 -s /tmp/cherokee/ voxi_production.sock -C -x /usr/local/django/voxi_production/uwsgi.xml

Good luck!


On Sep 12, 2010, at 8:41 AM, Italo Maia wrote:

Yes I am. In command line i get no error.

2010/9/12 Max Countryman <[email protected]>
Check your settings.py file. Are you importing the admin interface Django admin provides?

On Sep 12, 2010, at 8:18 AM, Italo Maia wrote:

And there are still some trouble with imports. According with error log, this is the error: Caught ImportError while rendering: No module named admin_tools.

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee



--
"A arrogância é a arma dos fracos."

===========================
Italo Moreira Campelo Maia
Graduado em Ciência da Computação - UECE
Desenvolvedor WEB e Desktop (Java, Python, Lua)
Coordenador do Pug-CE
-----------------------------------------------------
http://www.italomaia.com/
http://twitter.com/italomaia/
http://eusouolobomau.blogspot.com/
-----------------------------------------------------
turtle linux 910 - http://tiny.cc/blogturtle910
===========================

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to