Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor RelatedFieldAjaxListFilter #11

Open
fopinappb opened this issue Mar 10, 2022 · 0 comments
Open

refactor RelatedFieldAjaxListFilter #11

fopinappb opened this issue Mar 10, 2022 · 0 comments

Comments

@fopinappb
Copy link
Contributor

RelatedFieldAjaxListFilter came from django-jet.

Django has supported autocomplete-fields since Django 2.0 but only for change forms, not for list filters.

Refactor this filter to reuse the same endpoint (clean up and reduce complexity)

There seems to be many existing projects like django-admin-autocomplete-filter. Maybe re-use the code or just include the package.

It would also be nice to include to include an Ajax version for SimpleListFilter so it can be used on any custom filters (instead of only related fields).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant