Hi Matheus! Try to use django-select2 it is easy to set up and works like a charm!
It has an advanced and easy implementation, so try first with the easy ones and then if your project needs something heavier, you can refactor the code with a simple couple of lines. https://django-select2.readthedocs.io/en/latest/ Regards, Julio Cojom El jue, 22 sept 2022 a las 4:23, Matheus Bon (<matheusbo...@gmail.com>) escribió: > Hi! > > I'm lost in a question of my project, I see so many methods on the > internet but none work for me (maybe I'm implementing it wrongly) > > But, I would like to know if you could give me a method to transform my > model into a JSON file and then be able to retrieve these JSON files for me > to put in an INPUT with a dropdown, using, for example, SELECT2. > > Thanks! > > -- > 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/d89cac37-fdb7-436d-8e67-3e848ff425b3n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/d89cac37-fdb7-436d-8e67-3e848ff425b3n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAHRQUHmdjwLux9ok-WVOYFon59HhoFhyXEXbCg0kP9KBSuVpLA%40mail.gmail.com.