App Based Template Loading in Django

Written by pizzapanther | Published 2019/09/13
Tech Story Tags: template-loading-in-django | django | app-based-template-loading | template-loading | latest-tech-stories | template-loader | django-template-loader | django-admin-code

TLDR Django allows you to override a small piece of a template and then refer back to that original template. This means you have to copy and paste a lot of code you would rather not maintain. Django 2.2 snippets for a template loader that does this are quite out of date. It's extremely useful here. I use this template loader mostly to override the admin. It lets me insert a custom block into the Django Grappelli Admin without having to use a dashboard system and without using Django admin code.via the TL;DR App

no story

Written by pizzapanther | Father, web developer, and pizza maker; Software Entomologist @ Cognitive Space
Published by HackerNoon on 2019/09/13