old_contents: from django.http import HttpResponse
  from django.shortcuts import render
  
  
  def index(request):
      return render(request, 'notifications/index.html')
  
  
  def subscribe(request):
      return HttpResponse("Thanks for subscribing")
  
new_contents: from django.http import HttpResponse
  from django.shortcuts import render
  from django.views.decorators.csrf import csrf_exempt
  
  
  def index(request):
      return render(request, 'notifications/index.html')
  
subject: Add csrf exempt