django_4 #363
@ -32,3 +32,9 @@ class EcoAccountAutocomplete(Select2QuerySetView):
|
|||||||
Q(title__icontains=self.q)
|
Q(title__icontains=self.q)
|
||||||
).distinct()
|
).distinct()
|
||||||
return qs
|
return qs
|
||||||
|
|
||||||
|
def get_result_label(self, result):
|
||||||
|
return str(result)
|
||||||
|
|
||||||
|
def get_selected_result_label(self, result):
|
||||||
|
return str(result)
|
||||||
|
Loading…
Reference in New Issue
Block a user