Sometimes in Django you wish to override a small piece of a template and then refer back to that original template. However, in default Django, once you override that template, you can not refer back to it with the extends tag. This means you have to copy and paste a lot of code you would rather not maintain. So it would be nice if you had an extends tag that worked like: {% "app_name:admin/index.html" %} extends I found several snippets for a template loader that does this, but they are quite out of date. So here is a Django 2.2 snippet. First the loader: os django.apps apps django.template Origin, TemplateDoesNotExist django.template.loaders.filesystem Loader BaseLoader is_usable = template_parts = tpl.split( , ) len(template_parts) != : TemplateDoesNotExist(tpl) app_name, template_name = template_parts app = apps.get_app_config(app_name) template_dir = os.path.abspath(os.path.join(app.path, )) path = os.path.join(template_dir, template_name) Origin( name=path, template_name=tpl, loader=self, ) import from import from import from import as : class Loader (BaseLoader) True : def get_template_sources (self, tpl) ":" 1 if 2 raise 'templates' yield Then in your settings.py you need to configure your template loaders like: TEMPLATES = [ { : , : [], : { : [ , , ], }, }, ] 'BACKEND' 'django.template.backends.django.DjangoTemplates' 'DIRS' 'OPTIONS' 'loaders' 'django.template.loaders.app_directories.Loader' 'my_app.loader.Loader' These settings use the default Django template loader first and then use the new App Loader class if nothing is found. Then you can do something like in a template: {% "grappelli:admin/index.html" %} extends {% custom_views %} block {{ .super }} block Benchmarks Benchmarks < = = > div class "grp-module" id "app_benchy" < > h2 < = = > a href "/benchmarks/" class "grp-section" </ > a </ > h2 < = = > div class "grp-row" id "model-benchy" < = > a href "/benchmarks/" < > strong </ > strong </ > a </ > div </ > div {% %} endblock That particular code let me insert a custom block into the Django Grappelli Admin without having to use a dashboard system and without having to copy and paste Django admin code. I use this template loader mostly to override the admin. It's extremely useful here.