fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't do manual 404 in piston
[wolnelektury.git]
/
apps
/
catalogue
/
views.py
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
d17c349
..
fd8a633
100644
(file)
--- a/
apps/catalogue/views.py
+++ b/
apps/catalogue/views.py
@@
-302,8
+302,8
@@
def book_detail(request, slug):
if not project:
# temporary fallback
project = u'CzytamySłuchając'
if not project:
# temporary fallback
project = u'CzytamySłuchając'
-
- projects.add((project, meta.get('funded_by')))
+
+ projects.add((project, meta.get('funded_by'
, ''
)))
projects = sorted(projects)
form = forms.SearchForm()
projects = sorted(projects)
form = forms.SearchForm()