Django评论框架 [英] Django comments framework
问题描述
我想知道是否绑定的评论框架如果注释表单包含错误,django可以重定向到引用页面。
另外,如果我要做一个评估框架,我将如何去实现此功能。感谢您的帮助
标记
作为处理第一个问题的人,我可以说我找不到方法,至少无需修改应用程序。我采取了另一条路,写了一个适合我更好的应用程序。我在这个问题上发布了一个关于SO的问题,你可以阅读它这里。
关于您的第二个问题,Django有一个评分应用,您可以查看这里。
Hi I am quite new to Django and am trying to get to grips with a few things.
I would like to know if the comments framework that is bundled with django can redirect to the refering page if the comment form contains errors?
Also if I were to make a rating framework how would I go about achieving this functionality. Would I simply pass the refering url inside my rating form?
Thanks for any help
Mark
As someone who dealt with the first issue, I can say I could not find a way, at least without having to modify the app. I took the other path and wrote an app that suited me better. I posted a question on SO related to this issue, you can read it here.
Regarding your second question, there is a rating app for Django, you may check it here.
这篇关于Django评论框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!