问题
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