Django comments framework

痞子三分冷 提交于 2020-01-06 15:19:11

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/1272530/django-comments-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!