Fixes: 1) Correct expected_parameters method to use precise query parameter naming with field_path and target_field.
This commit is contained in:
parent
5926ceb8bf
commit
aff9a4cfa7
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class RelatedAutocompleteFilter(FieldListFilter):
|
|||
)
|
||||
|
||||
def expected_parameters(self):
|
||||
return [self.lookup_kwarg]
|
||||
return f"{self.field_path}__{self.field.target_field.name}__exact"
|
||||
|
||||
def has_output(self):
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in a new issue