fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c81c82
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 29 Jun 2023 14:31:02 +0000
(16:31 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 29 Jun 2023 14:31:02 +0000
(16:31 +0200)
src/catalogue/views.py
patch
|
blob
|
history
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
5ea1bbe
..
17d61a4
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-225,7
+225,7
@@
def publish_author(request, pk):
"gazeta_link": author.gazeta_link,
"culturepl_link": author.culturepl_link,
"wiki_link_pl": author.plwiki,
"gazeta_link": author.gazeta_link,
"culturepl_link": author.culturepl_link,
"wiki_link_pl": author.plwiki,
- "photo": request.build_absolute_uri(author.photo.url),
+ "photo": request.build_absolute_uri(author.photo.url)
if author.photo else None
,
"photo_source": author.photo_source,
"photo_attribution": author.photo_attribution,
}
"photo_source": author.photo_source,
"photo_attribution": author.photo_attribution,
}