阅读背景:

如何处理抛出警告框并使其显示AJAX错误消息的错误?

来源:互联网 

I'm using Django and django-voting in an app I'm making. If a user who is not authenticated tries to vote, an alert box is displayed telling them they are not authenicated. How can I catch this error and make it into a more elegant AJAX display so I can show it right on the page when it happens?I'm using Django and django-voting in an app I'




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

分享到: