25 lines
527 B
Python
25 lines
527 B
Python
from django.shortcuts import render, HttpResponse
|
|
|
|
|
|
def bird_create(request):
|
|
return HttpResponse("Create a bird")
|
|
|
|
|
|
def bird_all(request):
|
|
return HttpResponse("Show all Birds")
|
|
|
|
|
|
def bird_recover_all(request):
|
|
return HttpResponse(f"Show all recovered Birds")
|
|
|
|
|
|
def bird_single(request, id):
|
|
return HttpResponse(f"Show bird with ID {id}")
|
|
|
|
|
|
def bird_delete(request, id):
|
|
return HttpResponse(f"Show delete with ID {id}")
|
|
|
|
|
|
def bird_recover(request, id):
|
|
return HttpResponse(f"Show recover with ID {id}")
|