Closed int-ua closed 3 years ago
Did you try with this fix: https://github.com/farhan0581/django-admin-autocomplete-filter/pull/57 ? Unfortunately, it's not yet available on pypi but you can test it by installing with the git repo instead of the pypi package.
Re-tested #57 without Grappelli and it works, thank you :+1:
Now we'll just have to find a fix for that Grappelli issue.
Didn't test on previous version, but with Django 3.2 primary key fields are of
DeferredAttribute
class that doesn't haveget_queryset
method, both for integerAutoField
and stringCharField
.Trying to figure out if there are workarounds for this. Also, it doesn't work with Grappelli 2.15.1 on Django 3.2 even with non-PK fields, see https://github.com/sehmaschine/django-grappelli/issues/963