I’m trying to load different html files into the base.html and they’re not showing. Any ideas? Answer I think you may be confusing template inheritance with template composition. In template inheritance, you have a base page like base.html: Then, you have a second template shoes.html that extends base.html. It inherits all the HTML from base.html, but fills in some custom
Tag: templatetags
how to create django template tag for custom model
I’m new for django template tag. I am trying to display logged user payment_status and remaining_days on django html template. For this I wrote model and I don’t know how to write template tag for this. Request your help on this. I want to display payment_status above in model and remaining_days = expired_date-subscripted_date Answer You should take a look at