How to Solve NameError: name 'require_http_methods' is not defined -- django
Erorr: name 'require_http_methods' is not defined
NameError: name 'require_http_methods' is not defined
Solution: Import the 'require_http_methods' module
# Add the following line to the top of your code
from django.views.decorators.http import require_http_methods
For more information:
django require_http_methods