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.
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?
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 POST
.