mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24728 -- Renamed mime_type to content_type for syndication feeds
Renamed the mime_type properties of RssFeed and Atom1Feed to content_type and start deprecation for the old names.
This commit is contained in:
committed by
Tim Graham
parent
3e9b5bfd9c
commit
5c125f63f7
@@ -641,6 +641,10 @@ Miscellaneous
|
||||
signatures with only one request parameter are deprecated. The views should
|
||||
now also accept a second ``exception`` positional parameter.
|
||||
|
||||
* The ``django.utils.feedgenerator.Atom1Feed.mime_type`` and
|
||||
``django.utils.feedgenerator.RssFeed.mime_type`` attributes are deprecated in
|
||||
favor of ``content_type``.
|
||||
|
||||
.. removed-features-1.9:
|
||||
|
||||
Features removed in 1.9
|
||||
|
||||
Reference in New Issue
Block a user