Groups
Groups
Sign in
Groups
Groups
yourlabs
Conversations
About
Send feedback
Help
External Json data source
20 views
Skip to first unread message
Workino
unread,
Jul 17, 2016, 6:53:29 AM
7/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yourlabs
Hello,
i need some help from you because i'm lost i i don't know how to accomplish this easy task.
I have an external source of data (external API) who sent data in JSON format.
How can i take them and use them in a form with autocomplete-list?
Version is latest.
Thank you
James Pic
unread,
Jul 18, 2016, 1:57:02 PM
7/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yourlabs
Hi !
Welcome to the list !
Perhaps you could try to fetch the data in the autocomplete view. In the choices from the JSON api *which are not in the database*, make the returned choices HTML elements have the url data attribute. Then, you need to implement choice creation:
http://django-autocomplete-light.readthedocs.io/en/master/tutorial.html#creation-of-new-choices-in-the-autocomplete-form
Reply all
Reply to author
Forward
0 new messages