Fikset en språkbug. Redirect taklet ikke norske urler.

This commit is contained in:
Øyvind Almelid 2011-03-06 18:13:41 +00:00
parent f6c1d11277
commit 80d40f470b

View File

@ -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