Python - import 'require_GET' -- django

Import require_GET

To import require_GET, Add the following line to the top of your code.

from django.views.decorators.http import require_GET

 

For more information about require_GET:
Django require_GET