GET and POST Method Call in Python

By November 26, 2012 August 12th, 2017 Python

Python, my first program where I tried to learn simple create update delete an application. Here I have learned how to work with GET method.

Get method is very easy to call without any difficulty you can call.

HTML

VIEW

In POST method you need to decalare csrf token
Put below the form {% csrf_token %}
declare in view from django.views.decorators.csrf import csrf_exempt and just above your def @csrf_exemptx