Skip to content

Fixed preview of SQL und Templates if SCRIPT_NAME (prefix) is used #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

guettli
Copy link

@guettli guettli commented Apr 26, 2012

If you use a SCRIPT_NAME (e.g. http://example.com/myprefix/myapp/) the preview of SQL and Templates was broken. I tested the patch with a prefix (mod_wsgi, apache) and without (runserver).

@aaugustin
Copy link
Contributor

This is related to #84.

This patch relies on BASE_URL, but in the current source, there's a comment saying it's only for backwards compatibility.

@aaugustin
Copy link
Contributor

This pull request doesn't apply cleanly any more. There's a more recent patch in #421. I'm going to close this. Let's continue the discussion on #84.

Thanks for your contribution, and sorry for not replying earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants