def get_template_sources(template_name, template_dirs=None):
    if not template_dirs:
        template_dirs = settings.TEMPLATE_DIRS
    for template_dir in template_dirs:
        try:
            yield safe_join(template_dir, template_name)
        except UnicodeDecodeError:
            # The template dir name was a bytestring that wasn't valid UTF-8.
            raise
        except ValueError:
            # The joined path was located outside of this particular
            # template_dir (it might be inside another one, so this isn't
            # fatal).
            pass
Action for handling the vrf-section
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/template/loaders/filesystem.py/get_template_sources--crossover with--dataset/ETHPy150Open SpriteLink/NIPAP/nipap-www/nipapwww/controllers/ng.py/NgController.vrf