Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def BookView(request,book_identifier):
def BookRedirect(request,book_identifier): def BookRedirect(request,book_identifier):
ident=get_object_or_404(Id,id=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): def PersonView(request,person_identifier):
global relations global relations