>> # django_wsgi.py
>>
>> import os
>> import sys
>> import site
>>
>> import django.core.handlers.wsgi
>> from django.conf import settings
>>
>> os.environ['DJANGO_SETTINGS_MODULE'] = '<project>.settings'
>>
>> PROJECT_PATH = getattr(settings, 'PROJECT_PATH')
>>
>> sys.path.append(PROJECT_PATH)
>> site.addsitedir(os.path.join(PROJECT_PATH,
>> '/ve/lib/python2.6/site-packages'))
>>
>> application = django.core.handlers.wsgi.WSGIHandler()
>> applications = {'':'application', }
>
> ^^^^^^^^^^^^
> Shouldn't this be a callable and not a string?
Thanks, Obviously that should point to the callable application
variable . I believe earlier versions must have done some magic or
looked for a variable called 'application', since it worked up to the
0.9.6.8.
Thanks again,
Simon.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi