I am writting a view named index. I want to specify that it can handle not only get requests but also post. In flask it was done by decorator, how to achieve it using django? I use Django 1.9.5
2.1m questions
2.1m answers
60 comments
57.0k users