try https://django-autocomplete-light.readthedocs.io/en/master/
Em quarta-feira, 23 de maio de 2018 15:58:20 UTC-3, Brock Hallenbeck
escreveu:
>
> Thanks Collin, that does help.
>
> I guess I am going to have to take a fundamentally different approach to
> accomplish what I want.
>
> I have att
Thanks Collin, that does help.
I guess I am going to have to take a fundamentally different approach to
accomplish what I want.
I have attempted to make an AJAX solution for foreign key dropdowns with
>1000 options by creating a subclass of ModelChoiceField.
By also subclassing its iterator I
Hi Brock,
Yes, that's the intended behavior, and you can see the same behavior on a
regular form, without using formsets, which might make it a little more
clear what's going on:
class MyForm(forms.Form):
name = forms.CharField()
form = MyForm(initial={'name': 'test'})
form.initial #yields