Django template inheritance, no inheritance data, is there any good way?

wrote a blog, tags has to be loaded every page, so use template inheritance, inherited there is no data, is there any good way?

I can think of a global variable or decorator. Does Django have a better solution?

Feb.28,2021

django templates have include


you can use js to automatically load


in this case, you should consider the django custom template tag filter

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e94677-68c45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e94677-68c45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?