add_static_view() Does Not Detect Protocol-less Urls #798

mankyd opened this Issue Jan 15, 2013 · 1 comment


None yet
2 participants

mankyd commented Jan 15, 2013

In short, passing the following to add_static_view does not behave as expected:

config.add_static_view('//', 'mypackage:static')

It does not detect that as a valid url path, and therefore generates long, broken urls. Ideally, this should generate urls like:

# it should return '//'
# instead it returns '

In this way, the templates do not need to be rendered differently for HTTP vs HTTPS connections.


bertjwregeer commented Feb 2, 2013

@mankyd: I do believe I have fixed the issue in pull request #838 if you could test against that I would be grateful!

mmerickel closed this in ff41f86 Mar 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment