mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Refs #13110 -- Removed SyndicationFeed.add_item()'s enclosure argument.
Per deprecation timeline.
This commit is contained in:
parent
d67a46e104
commit
75cf9b5ac0
5 changed files with 8 additions and 49 deletions
|
|
@ -963,7 +963,6 @@ They share this interface:
|
|||
* ``pubdate``
|
||||
* ``comments``
|
||||
* ``unique_id``
|
||||
* ``enclosure``
|
||||
* ``enclosures``
|
||||
* ``categories``
|
||||
* ``item_copyright``
|
||||
|
|
@ -976,17 +975,10 @@ They share this interface:
|
|||
|
||||
* ``pubdate`` should be a Python :class:`~datetime.datetime` object.
|
||||
* ``updateddate`` should be a Python :class:`~datetime.datetime` object.
|
||||
* ``enclosure`` should be an instance of
|
||||
:class:`django.utils.feedgenerator.Enclosure`.
|
||||
* ``enclosures`` should be a list of
|
||||
:class:`django.utils.feedgenerator.Enclosure` instances.
|
||||
* ``categories`` should be a sequence of Unicode objects.
|
||||
|
||||
.. deprecated:: 1.9
|
||||
|
||||
The ``enclosure`` keyword argument is deprecated in favor of the
|
||||
``enclosures`` keyword argument.
|
||||
|
||||
:meth:`.SyndicationFeed.write`
|
||||
Outputs the feed in the given encoding to outfile, which is a file-like object.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue