parent
b6760071cc
commit
f413f8d511
13 changed files with 1 additions and 63 deletions
|
@ -79,11 +79,6 @@ def bird_inactive(request):
|
|||
return render(request, "bird/bird_inactive.html", context)
|
||||
|
||||
|
||||
@login_required(login_url="account_login")
|
||||
def bird_recover_all(request):
|
||||
return HttpResponse("Show all recovered Birds")
|
||||
|
||||
|
||||
@login_required(login_url="account_login")
|
||||
def bird_single(request, id):
|
||||
bird = FallenBird.objects.get(id=id)
|
||||
|
@ -107,8 +102,3 @@ def bird_delete(request, id):
|
|||
return redirect("bird_all")
|
||||
context = {"bird": bird}
|
||||
return render(request, "bird/bird_delete.html", context)
|
||||
|
||||
|
||||
@login_required(login_url="account_login")
|
||||
def bird_recover(request, id):
|
||||
return HttpResponse(f"Show recover with ID {id}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue