1
0
mirror of https://github.com/django/django.git synced 2025-02-04 14:37:19 +00:00
Unai Zalakain aac2a2d2ae Fixed #13110 -- Added support for multiple enclosures in Atom feeds.
The ``item_enclosures`` hook returns a list of ``Enclosure`` objects which is
then used by the feed builder. If the feed is a RSS feed, an exception is
raised as RSS feeds don't allow multiple enclosures per feed item.

The ``item_enclosures`` hook defaults to an empty list or, if the
``item_enclosure_url`` hook is defined, to a list with a single ``Enclosure``
built from the ``item_enclosure_url``, ``item_enclosure_length``, and
``item_enclosure_mime_type`` hooks.
2015-09-18 18:31:58 -04:00
..
2015-08-08 12:02:32 +02:00
2015-08-08 12:02:32 +02:00
2015-02-20 09:21:39 -05:00
2015-02-20 09:21:39 -05:00
2015-02-20 09:21:39 -05:00
2015-01-27 11:48:04 -05:00
2015-08-08 12:02:32 +02:00
2015-02-20 09:21:39 -05:00
2015-02-20 09:21:39 -05:00
2015-06-05 08:24:53 -04:00
2015-02-20 09:21:39 -05:00
2015-02-20 09:21:39 -05:00
2015-08-08 12:02:32 +02:00
2015-02-20 09:21:39 -05:00
2015-01-27 11:48:04 -05:00
2015-05-01 16:24:39 -04:00
2015-05-20 13:48:06 -04:00
2015-08-18 19:52:45 -04:00