summaryrefslogtreecommitdiff
path: root/docs/internals
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-01-31 13:39:29 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-01-31 13:54:40 +0100
commit89cb771be7b53c40642872cdbedb15943bdf8e34 (patch)
tree43b9e7addfe0d5f2ad99a569507f4c19562e4aef /docs/internals
parentb2039d39d537340c1617f23d68b3f40f070e01db (diff)
Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
Thanks Tim for the report and initial patch.
Diffstat (limited to 'docs/internals')
-rw-r--r--docs/internals/deprecation.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 63d65d1e4a..da0d1e212c 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -290,8 +290,14 @@ these changes.
specified as a plain string instead of a tuple will be removed and raise an
exception.
-* The ``mimetype`` argument to :class:`~django.http.HttpResponse` ``__init__``
- will be removed (``content_type`` should be used instead).
+* The ``mimetype`` argument to the ``__init__`` methods of
+ :class:`~django.http.HttpResponse`,
+ :class:`~django.template.response.SimpleTemplateResponse`, and
+ :class:`~django.template.response.TemplateResponse`, will be removed.
+ ``content_type`` should be used instead. This also applies to the
+ :func:`~django.shortcuts.render_to_response` shortcut and
+ the sitemamp views, :func:`~django.contrib.sitemaps.views.index` and
+ :func:`~django.contrib.sitemaps.views.sitemap`.
* When :class:`~django.http.HttpResponse` is instantiated with an iterator,
or when :attr:`~django.http.HttpResponse.content` is set to an iterator,