Leaklens

django__django-14752

Refactor AutocompleteJsonView to support extra fields in autocomplete response

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

The solutions is simple, side-effect- and risk-free: adding a result customization extension point to get() by moving the lines that construct the results inside JsonResponse constructor to a separate method.

The text states the fix: “The solutions is simple, side-effect- and risk-free: adding a result customization extension point to get() by moving the lines that construct the results inside JsonRes…”

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