Leaklens

django__django-12304

Enumeration Types are not usable in templates.

Verdict: the fix is stated in the issue (Tier A).

The easy solution would be to declare do_not_call_in_templates = True on the various Choices classes.

The text states the fix: “The easy solution would be to declare do_not_call_in_templates = True on the various Choices classes.”

All SWE-bench Verified tasks · more django/django tasks · How the check works