From 2204f23fb627be726405763f7050a200b651daff Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Thu, 29 Aug 2019 09:02:40 +0200 Subject: [PATCH] Fix format string. --- biscuit/apps/exlibris/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/apps/exlibris/views.py b/biscuit/apps/exlibris/views.py index 541c586..0c1121d 100644 --- a/biscuit/apps/exlibris/views.py +++ b/biscuit/apps/exlibris/views.py @@ -276,7 +276,7 @@ def person_borrow(request: HttpRequest) -> HttpResponse: book_copy.borrower = person book_copy.save() - messages.success(request, _('Book %s borrowed to %s.') % book_copy.book.title) + messages.success(request, _('Book %s borrowed to %s.') % (book_copy.book.title, person)) person_borrow_form = PersonBorrowForm() -- GitLab