Hi, I am trying to customise the comments app by adding a rating field using django-ratings and jquery-star.
But when i try to post a comment, i am getting below error. Traceback: File "/Users/django*demo/godjango/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, *callback_kwargs) File "/Users/django_demo/godjango/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 91. response = view_func(request, args, *kwargs) File "/Users/django_demo/godjango/lib/python2.7/site-packages/django/views/decorators/http.py" in inner 41. return func(request, args, *kwargs) File "/Users/django_demo/godjango/lib/python2.7/site-packages/django/contrib/comments/views/comments.py" in post_comment 109. comment = form.get_comment_object() File "/Users/django_demo/godjango/lib/python2.7/site-packages/django/contrib/comments/forms.py" in get_comment_object 115. new = CommentModel(**self.get_comment_create_data()) File "/Users/django_demo/godjango/lib/python2.7/site-packages/django/db/models/base.py" in __init*_ 367. raise TypeError("'%s' is an invalid keyword argument for this function" % kwargs.keys()[0]) Exception Type: TypeError at /comments/post/ Exception Value: *'rating'* is an invalid keyword argument for this function I am following the instructions mentioned in http://www.azavea.com/blogs/labs/2011/04/jquery-star-rating-with-django-ratings/ and https://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/ I have pasted my code in https://gist.github.com/4347324. __init__.py in my comments app looks like this https://gist.github.com/4347324#file-__init__-py models.py in my comments app looks like this https://gist.github.com/4347324#file-models-py forms.py in my comments app looks like this https://gist.github.com/4347324#file-forms-py widgets.py in comments app looks like this...https://gist.github.com/4347324#file-widgets-py and i have two template files to display the comments in my templates/comments folder, which looks like below https://gist.github.com/4347324#file-form-html https://gist.github.com/4347324#file-list-html Can anyone help solving this issue ? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ak6So4Ay7W4J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.