forked from DGNum/gestioCOF
Fix participant autocomplete
This commit is contained in:
parent
1af602c9f7
commit
a525cffaff
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class ModelSearch(SearchUnit):
|
|||
|
||||
def __init__(self):
|
||||
if self.verbose_name is None:
|
||||
self.verbose_name = "{} search".format(self.model.Meta.verbose_name)
|
||||
self.verbose_name = "{} search".format(self.model._meta.verbose_name)
|
||||
|
||||
def get_queryset_filter(self, keywords):
|
||||
filter_q = Q()
|
||||
|
|
Loading…
Reference in a new issue