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

Support for string "template_lookup" #1150

Open
sharpaper opened this issue Jun 26, 2019 · 0 comments
Open

Support for string "template_lookup" #1150

sharpaper opened this issue Jun 26, 2019 · 0 comments

Comments

@sharpaper
Copy link

When defining my own template function

functools.partial(template, template_adapter=..., template_lookup=..., template_settings=...)

template_lookup must be a list. This was not really clear, until I looked at the Bottle code. It would be useful to support string values as well for when there is only one template folder, like this template_lookup="./templates".

Or maybe add this information to the documentation.

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

1 participant