0

Is there any best practice to implement fields priority in django-autocomplete-light?

In another words, if I have a class Cls, witch contains fields a and b and I have autocomplete for these fields, then choices, which matches by a field should go before fields, which matches b fields.

mingaleg
  • 2,017
  • 16
  • 28

1 Answers1

0

Ok, maybe, there is no better solution than overriding choices_for_request method.

mingaleg
  • 2,017
  • 16
  • 28