0

I want to send base template I am extending as a parameter.

Currently, my template first tag is like this

{% extends "rent_base.html" %}

I want it to be like this

{% extends {{base}} %}

Can I achieve it with Django templates?

Ilya Bibik
  • 3,924
  • 4
  • 23
  • 48

0 Answers0