Open flyalex opened 3 years ago
can you try using the latest version 0.7 ?
Version 0.7 introduces this change
- from django.db.models import ManyToOneRel
+ from django.db.models import ForeignObjectRel
ForeignObjectRel
is only introduced in django 3.1, it's not in 3.0 nor 2.2. So version 0.7 doesn't work at all with these versions.
please check the latest version if this fixed the issue
Hi,
Thx for the app!
Just installed with Django 2.2.4
django-admin-autocomplete-filter==0.6.1
installed apps 'admin_auto_filters' – at the bottom, but tried above admin also.
class BrandAutocompleteFilter(AutocompleteFilter): title = 'Brand' field_name = 'brand'
On the ProductAdmin added: list_filter = [BrandAutocompleteFilter]
I can see a filter on the admin page and it shows correct Brand qr, but after selection, nothing happens.
Also, it has some styles issue.
Am I doing something wrong?
Thank you.