I’m curious about setting urls accept_method directly when defining url like
url(r'some-pattern', 'view_name', name='url_name', accept_method='GET|POST')
I know there’re view decorators like require_GET, require_POST etc.
Is there any solutions for Django or any extension to do it?
Thanks.
@Pratik Mandrekar thanks for definitive information and documentation.
I’ve created a small application which does this kind of job https://github.com/imanhodjaev/django-besmart-common