>>> The error that I'm getting is that Django doesn't generate the links >>> corectly. I guess it doesn't get SCRIPT_NAME right. >> >> It seems that Django is at fault here, I've replaced the Django app with >> werkzeug's test_app and SCRIPT_NAME and PATH_INFO are correct, so it >> seems >> Django doesn't honour the WSGI SCRIPT_NAME as it should. > > So the conclusion is that Django as of 1.2.x can NOT create links to > static media based on the SCRIPT_NAME (that might be ok, dunno). > >
AFAIK you have to force the new url (SCRIPT_NAME+'/media') in settings.py -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
