I have a page generated by a TemplateView and containing a POST form. How can I use this form with a TemplateView.
There is an example similar of my code :
For generic.TemplateView you have only get method implemented. You should implement post method to allow post form or try to use generic.FormView
generic.TemplateView
get
post
generic.FormView
More details in documentation: https://docs.djangoproject.com/en/1.11/topics/class-based-views/generic-editing/