diff options
| author | Viktor Garske <git@v-gar.de> | 2020-07-23 16:42:25 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-30 07:36:27 +0200 |
| commit | 1173db4a16bb2938ba62a6cd50372a76a7f9e05f (patch) | |
| tree | 69f95aef9fbd7875f16238ba7ae0e62c3a0057aa /django | |
| parent | 184a6eebb0ef56d5f1b1315a8e666830e37f3f81 (diff) | |
Fixed #31822 -- Added support for comments URL per feed item.
The item_comments hook returns a comments URL which is then used by the
feed builder.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/syndication/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/contrib/syndication/views.py b/django/contrib/syndication/views.py index 68ffb0bfe0..df97103318 100644 --- a/django/contrib/syndication/views.py +++ b/django/contrib/syndication/views.py @@ -212,6 +212,7 @@ class Feed: author_name=author_name, author_email=author_email, author_link=author_link, + comments=self._get_dynamic_attr('item_comments', item), categories=self._get_dynamic_attr('item_categories', item), item_copyright=self._get_dynamic_attr('item_copyright', item), **self.item_extra_kwargs(item) |
