django / django-contrib-comments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converting post_comment to Class Based views

SudShekhar opened this issue · comments

Hi,

I was just wondering if there are any plans to migrate post_comment function to class based views? I am customizing django-contrib-comments to allow for file uploads and will need to copy paste the whole function. Was thinking that it would be much easier if we had the same thing as a class.

Any particular reason why it has not been done yet? Will pull requests for the same be welcome?

Thanks!

I also think that converting it to a class-based view would add value. So yes, patch welcome!

Cool. I will try to write the new view and create a patch over the coming weekend.

Just added a pull request #170 . A class based view would make customizing the view a lot more straight forward.