Thanks, that's helpful but doesn't solve my problem i'm afraid :(
Once I do that I get
[Tue Apr 24 15:22:43 2012] Traceback (most recent call last):
[Tue Apr 24 15:22:43 2012] File "/bin/serve_wsgi.py", line 53, in main
[Tue Apr 24 15:22:43 2012] application = get_application_with_error_logger(error_log)
[Tue Apr 24 15:22:43 2012] File "/bin/serve_wsgi.py", line 46, in get_application_with_error_logger
[Tue Apr 24 15:22:43 2012] wsgi_module = imp.load_source('wsgi', '/var/www/wsgi.py')
[Tue Apr 24 15:22:43 2012] File "/var/www/wsgi.py", line 84, in <module>
[Tue Apr 24 15:22:43 2012] application = config.make_wsgi_app()
[Tue Apr 24 15:22:43 2012] NameError: name 'config' is not defined
So I tried importing config after the line defining my path and I get this:
[Tue Apr 24 15:23:46 2012] Traceback (most recent call last):
[Tue Apr 24 15:23:46 2012] File "/bin/serve_wsgi.py", line 53, in main
[Tue Apr 24 15:23:46 2012] application = get_application_with_error_logger(error_log)
[Tue Apr 24 15:23:46 2012] File "/bin/serve_wsgi.py", line 46, in get_application_with_error_logger
[Tue Apr 24 15:23:46 2012] wsgi_module = imp.load_source('wsgi', '/var/www/wsgi.py')
[Tue Apr 24 15:23:46 2012] File "/var/www/wsgi.py", line 82, in <module>
[Tue Apr 24 15:23:46 2012] from tasks import config
[Tue Apr 24 15:23:46 2012] ImportError: No module named tasks