Fikset en språkbug. Redirect taklet ikke norske urler.
This commit is contained in:
parent
f6c1d11277
commit
80d40f470b
@ -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
|
||||
|
Reference in New Issue
Block a user