def direct_to_template_subdir(request, template, subdir = None, **kwargs): """ A wrapper around django's direct_to_template view. It prepend a given file path on to the template we are given. This lets us render templates in a sub-dir of the url pattern that matches this template. What do I mean? Take for example: url(r'^foo/(?P