Leaklens

django__django-11477

translate_url() creates an incorrect URL when optional named groups are missing in the URL pattern

Verdict: disputed: one of the two checks found quoted evidence (not counted as a flag).

The best way to resolve both issues would be to patch directly _reverse_with_prefix in django.urls.resolvers.

Disputed: one of the two checks found a pointer to the fix, the other found nothing. Not counted as a flag; the quote is on the task page.

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