Join a template with the parent. By default all the lookups are relative to the loader root so this method returns the `template` parameter unchanged, but if the paths should be relative to the parent template, this function can be used to calculate the real template
(self, template, parent)
| 780 | reraise(exc_type, exc_value, tb) |
| 781 | |
| 782 | def join_path(self, template, parent): |
| 783 | """Join a template with the parent. By default all the lookups are |
| 784 | relative to the loader root so this method returns the `template` |
| 785 | parameter unchanged, but if the paths should be relative to the |
| 786 | parent template, this function can be used to calculate the real |
| 787 | template name. |
| 788 | |
| 789 | Subclasses may override this method and implement template path |
| 790 | joining here. |
| 791 | """ |
| 792 | return template |
| 793 | |
| 794 | @internalcode |
| 795 | def _load_template(self, name, globals): |
no outgoing calls
no test coverage detected