Skip to content

Commit

Permalink
Merge pull request #59 from ReadNow-C14/readnow-juno
Browse files Browse the repository at this point in the history
edit pinjam buku
  • Loading branch information
hrjuno authored Dec 19, 2023
2 parents cef922f + 3d665c0 commit cd194b8
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 cd194b8

Please sign in to comment.