1👍
✅
If you need the table on every page i would use an inclusion tag
and include it in the base template that all relevant pages inherit from.
👤arie
1👍
There are several approaches you can take to that. One is to write some middleware to add some more data to each response as it leaves the view. The other would be to write your own template tag to render the section in question. Look here for middleware and here for template tags.
👤TimD
- [Answered ]-Store data in hindi and other languages in django model
- [Answered ]-How to find foreign key meta data in Django
- [Answered ]-Analogs for Placeholder from Django-CMS or Streamfield from Wagtail without cms itself
- [Answered ]-Building query string with form fields
Source:stackexchange.com