title: Django class based post-only view
body: <p>Sorry if this is a trivial question but I've been searching around for quite sometime and have been unable to find a good implementation.</p>
  
  <p>Can someone provide an example of how to implement a post-only view (that can handle file uploads) in Django by subclassing any of the generic views?</p>
  
  <p>I want to create an endpoint which handles all blog post comment creation logic. The comment form is embedded on my blog page and thus, this data will be sent to the url as <code>POST</code>.</p>