How do I inherit a template in Django?

extends tag is used for inheritance of templates in django . One needs to repeat the same code again and again. Using extends we can inherit templates as well as variables.

Sizin İçin Seçtik  How do I create a function view in Django?

Leave a Reply

Your email address will not be published. Required fields are marked *