From 80d40f470b157e0ebcf3ec2889b66ad48b8ee93c Mon Sep 17 00:00:00 2001 From: almelid Date: Sun, 6 Mar 2011 18:13:41 +0000 Subject: [PATCH] =?UTF-8?q?Fikset=20en=20spr=C3=A5kbug.=20Redirect=20takle?= =?UTF-8?q?t=20ikke=20norske=20urler.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/web/library/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/web/library/views.py b/python/web/library/views.py index 20005ac..2c81a50 100644 --- a/python/web/library/views.py +++ b/python/web/library/views.py @@ -33,7 +33,7 @@ def BookView(request,book_identifier): def BookRedirect(request,book_identifier): ident=get_object_or_404(Id,id=book_identifier) - return HttpResponseRedirect('/book/'+ident.book.isbn) + return HttpResponseRedirect('/bok/'+ident.book.isbn) def PersonView(request,person_identifier): global relations