Skip to content
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

Spaces are no longer allowed in Mako template paths #950

Closed
landreville opened this issue Mar 27, 2013 · 2 comments
Closed

Spaces are no longer allowed in Mako template paths #950

landreville opened this issue Mar 27, 2013 · 2 comments

Comments

@landreville
Copy link
Contributor

As of Pyramid 1.4 spaces are no longer accepted in the path names when rendering mako templates (changed in this commit: f71ed59#L1L79). Since no one else has noticed yet I don't know if this needs a bug fix, but it should at least be documented that the file path cannot have spaces.

For example a renderer argument to view config such as the following would fail when looking up the template:
@view_config(renderer='/templates/test space/mytemplate.mako')

@mmerickel
Copy link
Member

This is a regression, thanks for the report. If you have any interest in submitting a test case or a patch it'd be appreciated.

@landreville
Copy link
Contributor Author

I can submit a patch.

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

No branches or pull requests

2 participants