Inspectopedia 2025.2 Help

Django

Broken line comment  

Reports #} line comment ends in Django templates that do not have a matching line comment start.

Celery task class or function is not registered  

Reports an unregistered task in Celery Beat Schedule.

Constance setting is not in fieldsets  

Detects missing keys in CONSTANCE_CONFIG_FIELDSETS (a constant for configuring Django Constance).

Django endblock name doesn't match the block name  

Reports incorrect names of the closing blocks.

Django ORM error  

Reports several methods that may not be called due to some ORM reasons.

Django {% url %} tag arguments are unresolved  

Reports a missing url in the url tag.

Duplicated block names  

Reports duplicated block names in Django templates.

Incorrect arguments in the ' {% url %}' tag  

Reports missing parameters in the template file if the url() function has parameters in its URL path.

Incorrect comparison expression in Django templates  

Reports missing whitespaces before and after comparison operators in Django templates.

Mismatched opening and closing tags  

Reports cases when opening tags in Django templates are not correctly matched by closing tags.

Misplaced {% extends %} tag  

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

Unresolved Constance setting  

Reports unresolved keys in Django Constance configuration.

Unresolved filter  

Reports unresolved filters in Django templates.

Unresolved library inspection  

Reports unresolved references in Django load tags.

Unresolved static reference  

Reports unresolved references to static resources.

Unresolved tag  

Reports unresolved tags in Django templates.

Unresolved template reference  

Reports unresolved file references in string literals of extends> and include> Django tags.

Last modified: 29 July 2025