Skip to content

Commit

Permalink
Merge pull request #60 from ReadNow-C14/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
hrjuno authored Dec 19, 2023
2 parents 332722f + cd194b8 commit a9755a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pinjam_buku/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def return_book_ajax(request, id):
book.delete()
return HttpResponse(b"RETURNED", status=201)

@login_required(login_url='/login')
@csrf_exempt
def borrow_book_flutter(request, id):
if request.method == 'POST':
Expand Down

0 comments on commit a9755a6

Please sign in to comment.