简体   繁体   中英

Integration of trello board with django via client side java script

I am integrating existing Django project with another application(trello) via client side script.

In the template, I have a button that triggers a javascript that creates a task in trello.

However, I do not want to create this task more than one time so I am thinking what option should I choose to validate it . 1-To trigger update of the field my Django project 2-To try to read the data from the trello application to check if the id already exists.

Both approaches should work but now I am wondering maybe there some standard approach from Django point of view for this problem?

I had slow ignition . The solution is simple. If you do search for the implementation of "like" button in Django it will achieve the same goal exactly and this topic was discussed in other questions . Django Like Button

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM