Re: Django admin filters + select2 + loading many options asynchronously
Alternatively, there is : https://pypi.org/project/django-admin-autocomplete-filter/ (My own issue with that one s that does not necessarily match any custom styling, but that is probably not a problem for most.) On Friday, 6 August 2021 at 07:53:35 UTC+2 Derek wrote: > You mean like https://pypi.org/project/django-autocomplete-light/ ? > > On Wednesday, 4 August 2021 at 20:45:16 UTC+2 Federico Capoano wrote: > >> Hi everyone, >> >> when adding adming filters by foreign key in the admin, sometimes the >> possible values are too many to load. >> >> So I am thinking, why not load values asynchronously and show these with >> select2? >> Probably only a certain number of values should be fetched and then while >> scrolling more values should be loaded. >> >> I am wondering, is there any solution for this already? >> >> Thanks in advance >> Best regards >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/04001c01-ae6c-410d-a054-8b4a0c5e6c93n%40googlegroups.com.
Re: Django admin filters + select2 + loading many options asynchronously
You mean like https://pypi.org/project/django-autocomplete-light/ ? On Wednesday, 4 August 2021 at 20:45:16 UTC+2 Federico Capoano wrote: > Hi everyone, > > when adding adming filters by foreign key in the admin, sometimes the > possible values are too many to load. > > So I am thinking, why not load values asynchronously and show these with > select2? > Probably only a certain number of values should be fetched and then while > scrolling more values should be loaded. > > I am wondering, is there any solution for this already? > > Thanks in advance > Best regards > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3b5ee45a-85ab-424e-beea-8d66cf5116b3n%40googlegroups.com.
Django admin filters + select2 + loading many options asynchronously
Hi everyone, when adding adming filters by foreign key in the admin, sometimes the possible values are too many to load. So I am thinking, why not load values asynchronously and show these with select2? Probably only a certain number of values should be fetched and then while scrolling more values should be loaded. I am wondering, is there any solution for this already? Thanks in advance Best regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9f5c5bd9-d172-41d1-89f2-68b36b3050f5n%40googlegroups.com.