git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bugfix/waldo_logout_view'
[philo.git]
/
contrib
/
penfield
/
models.py
diff --git
a/contrib/penfield/models.py
b/contrib/penfield/models.py
index
6da87a6
..
6550f8a
100644
(file)
--- a/
contrib/penfield/models.py
+++ b/
contrib/penfield/models.py
@@
-421,7
+421,7
@@
class NewsletterView(MultiView, FeedMultiViewMixin):
def add_item(self, feed, obj, kwargs=None):
defaults = {
'title': obj.title,
def add_item(self, feed, obj, kwargs=None):
defaults = {
'title': obj.title,
- 'author_name': ', '.join(
obj.authors
),
+ 'author_name': ', '.join(
[author.get_full_name() for author in obj.authors.all()]
),
'pubdate': obj.date,
'description': obj.lede or obj.full_text,
'categories': [tag.name for tag in obj.tags.all()]
'pubdate': obj.date,
'description': obj.lede or obj.full_text,
'categories': [tag.name for tag in obj.tags.all()]