Horje
csrf_exempt Code Example
csrf_exempt
#first you need to import this
from django.views.decorators.csrf import csrf_exempt

#now use @csrf_exempt dacorator as follows

@csrf_exempt
def exampleview(request):
	pass
	#now this view will not require csrf_token to handle post requests 




C

Related
pika server ip Code Example pika server ip Code Example
mariadb unknown collation: 'utf8mb4_0900_ai_ci' Code Example mariadb unknown collation: 'utf8mb4_0900_ai_ci' Code Example
run time in c Code Example run time in c Code Example
pi in c language Code Example pi in c language Code Example
malloc is undefined Code Example malloc is undefined Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
25