honzakral / django-threadedcomments

django-threadedcomments is a simple yet flexible threaded commenting system for Django.
BSD 3-Clause "New" or "Revised" License
622 stars 165 forks source link

Unexpected keyword argument 'site_id' with get_comment_create_data #85

Closed adrysn closed 7 years ago

adrysn commented 7 years ago

Recent update of django-contrib-comments added site_id keyword argument to get_comment_create_data(https://github.com/django/django-contrib-comments/commit/1ab69cb122418c973e27210558d11bb3fba921f6).

django-threadedcomments's get_comment_create_data may be changed to:

def get_comment_create_data(self, **kwargs):
    d = super(ThreadedCommentForm, self).get_comment_create_data(**kwargs)
    ...
vdboor commented 7 years ago

Fixed in f0fd6e3d4136db2c67a46baa0a11b66c02f26bf4! Thanks for reporting