Hi all!

I m trying to run my django app using wsgi, The default django
installed in the server is 0.97-pre-SVN-6978 and I want to use the
development one. I inserted the development django path in the wsgi
file:
----------
import os, sys
import django.core.handlers.wsgi

sys.path.insert(0, '/home/gtc/django-trunk/build/lib')
sys.path.insert(1, '/home/gtc/django-trunk/build/lib/django')
sys.path.insert(2, '/home/gtc/')

os.environ['DJANGO_SETTINGS_MODULE'] = 'gtc.settings'

application = django.core.handlers.wsgi.WSGIHandler()
----------

But I get this error:

----------
ImproperlyConfigured at /
Error while importing URLconf 'gtc.urls': 'module' object has no
attribute 'site'
----------

Of course the app works in my machine, so... can anyone tell me if it
is possible to override the version? or am I doing something else
wrong?

just in case python is 2.4

Cheers
Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to