Skip to content

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

Closed
guettli wants to merge 1 commit into
django-commons:masterfrom
guettli:master
Closed

Fixed preview of SQL und Templates if SCRIPT_NAME (prefix) is used#277
guettli wants to merge 1 commit into
django-commons:masterfrom
guettli:master

Conversation

@guettli

@guettli guettli commented Apr 26, 2012

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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