阅读背景:

使用jquery调用Ajax更新Django中的数据库模型

来源:互联网 

I have a search feature I built for an administrative account in Django on the front-end that queries matched users to the admin with an option to remove them from the database. Currently, they click the button, and they are redirected to the view that handles the backend logic for removing the associated object by the primary key from the database. I am wanting to have the user remove the object on button click and then update the div that the users display in after object has been removed without the page refreshing. How can I go about this?I have a search feature I built for an administ




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: