from django.shortcuts import render
from django.http import HttpResponse

def get_work(request):
    return HttpResponse('Not implemented')

def work_completed(request):
    return HttpResponse('Not implemented')

from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt


def get_work(request):
    return HttpResponse('Not implemented')


@csrf_exempt
def work_completed(request):
    return HttpResponse('Not implemented')

Allow POST request to work_completed view
Allow POST request to work_completed view

- from django.shortcuts import render
  from django.http import HttpResponse
+ from django.views.decorators.csrf import csrf_exempt
+ 
  
  def get_work(request):
      return HttpResponse('Not implemented')
  
+ 
+ @csrf_exempt
  def work_completed(request):
      return HttpResponse('Not implemented')
  
Allow POST request to work_completed view
## Code Before:
from django.shortcuts import render
from django.http import HttpResponse

def get_work(request):
    return HttpResponse('Not implemented')

def work_completed(request):
    return HttpResponse('Not implemented')

## Instruction:
Allow POST request to work_completed view
## Code After:
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt


def get_work(request):
    return HttpResponse('Not implemented')


@csrf_exempt
def work_completed(request):
    return HttpResponse('Not implemented')
