django1/tests/syndication_tests
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
..
templates/syndication Added newlines to the ends of CSS, HTML, and JavaScript files missing them. 2014-08-12 19:22:09 -04:00
__init__.py Renamed syndication tests 2013-12-31 11:25:02 +01:00
feeds.py Fixed #13110 -- Added support for multiple enclosures in Atom feeds. 2015-09-18 18:31:58 -04:00
models.py Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
tests.py Fixed #13110 -- Added support for multiple enclosures in Atom feeds. 2015-09-18 18:31:58 -04:00
urls.py Fixed #13110 -- Added support for multiple enclosures in Atom feeds. 2015-09-18 18:31:58 -04:00