farhan0581 / django-admin-autocomplete-filter

A simple Django app to render list filters in django admin using autocomplete widget.
GNU General Public License v3.0
351 stars 75 forks source link

No Support for django 4.0 #86

Open saranmaikalluri opened 1 year ago

saranmaikalluri commented 1 year ago

Not able to make autocomplete filter work in 4.0..

farhan0581 commented 1 year ago

working on this, might take some time.

merwok commented 1 year ago

Can someone post exact config and error message?

I am using AutocompleteFilterFactory with Django 4.0 without issue.

marcio0 commented 1 year ago

@merwok I use a nested query that breaks with a 'ManyToOneRel' object has no attribute 'get_limit_choices_to' error inside django's autocomplete view. That's because of a breaking change made in this view.

My solution was rewriting the whole view so I could do my own query