观看页面上的星级评分,并在另一页上进行评分
我是Django的新手,我正在使用星级。 我想知道用户是否有可能在一个页面上看到评分而无需选择评分的评分,而在另一页上,同一用户可以对
I am new to Django and I'm using Star-Rating.
I would like to know if there is a possibility a user can see the ratings on one page without the opting to rate and on another page, the same user can rate
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了。
如果您希望“只读”星级对象
您可以将仅在对象标签中读取为true的值
这样:
如果您想启用评分,则可以省略标签
Solved it.
if you want a star-rating object to be 'read only'
you can set read-only in the object tag to a value of True
like this:
if you want to enable rating you can just leave out the tag