Inspectopedia
 
2024.3

Misplaced {% extends %} tag

Warning
Code Style
New
Last modified: 03 December 2024

Reports the {% extends %} tag that is not the first tag in a Django template.

Example:

In this example, the {% extends %} tag is highlighted, because it should be placed before the {% load %} tag.