Closed BigBlueHat closed 11 years ago
This change is in reference to the render_path
method, whose docstring reads, "Render the template at the given path using the given context." In other words, the render_path
method reads what is at the explicitly provided path, so it doesn't need to take into account search_dirs
. The render_name
method, however, does. Does that make sense?
@cjerdonek I totally missed the render_name
method. Thanks!
load_file
takes search_dirs into account, so it properly discovers templates when usingsearch_dirs
--read
uses leans oncommon.read
which does not handlesearch_dirs