django/django — pull request #2220 by taigh (2014-01-28 18:42:25+00:00)
Title: url resolving with script prefix defined

This patch fixes problem when deploying django using wsgi and apache (possibly other servers too) on sub-url.
What it does is check if resolved path is prefixed with script name (common solution when depolying on sub urls) and if so it strips it. There might be better solution but it worked in my project when everything else failed.