yourlabs / django-autocomplete-light

A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
https://django-autocomplete-light.readthedocs.io
MIT License
1.81k stars 468 forks source link

📄 fix(docs): rename `get_result_label` parameter #1251

Closed arlopezg closed 3 years ago

arlopezg commented 3 years ago

Overriding the get_result_label method requires the second param to be called "result" - not "item".

Otherwise, Pylint throws an arguments-differ error (W0221)