Hi,
I wanted to have a functionality to be able to edit the comments posted using the comments app (not from the admin, from the site and only for logged in users). As much as I know Django, to render an edit form we need to pass an instance of the object to the form which has to be edited like
form = SomeForm(instance=some_object)
But when I try to do the same in case of CommentForm imported from django.contrib.comments.forms, I get an error __init__() got an unexpected keyword argument 'instance'.
When I check the comment form I find that the __init__() for the comment form is overwritten and it does not accept the `instance` argument. If the form cannot accept this argument, it means I cannot generate an edit form.
Is there any work around?
Thanks,
Sachin