Allow template filename to be given directly

Bug #372266 reported by Wichert Akkerman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grok
Fix Released
Undecided
Unassigned

Bug Description

It would be nice if it was possible to pass in a full template filename directly: grok.template("path/view.html"). I envision the behaviour to be something like this:

 * if the given filename has an extension use that
 * if no extension was given do the usual automatic detection
 * if a path is given, use that
 * if no path is given use the default path

Revision history for this message
Jan Wijbrand Kolman (janwijbrand) wrote :

i think we can put this to won't fix as the template = TemplateFile('path to file name') pattern is officially supported for a while now. the issue never got updated though.

Changed in grok:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.