summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-11-29 12:01:38 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-11-29 12:01:38 +0000
commit16ad0530c5d86dccff3952c52dff9f3138a205a5 (patch)
treeb247784148c0e776d209ad49aa032a5ddfa8a59a
parent6bfae3de7cba50f53159694ae23aa65863760e06 (diff)
Clarified release note about the removal of 'mixin' parameter to Storage.open, and added a note in the deprecation timeline.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/internals/deprecation.txt3
-rw-r--r--docs/releases/1.4.txt7
2 files changed, 7 insertions, 3 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 603f20dbab..91fde966fc 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -114,6 +114,9 @@ these changes.
beyond that of a simple ``TextField`` since the removal of oldforms.
All uses of ``XMLField`` can be replaced with ``TextField``.
+* The undocumented ``mixin`` parameter to the ``open()`` method of
+ ``django.core.files.storage.Storage`` (and subclasses) will be removed.
+
1.5
---
diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt
index ea7038430c..0c0c726d45 100644
--- a/docs/releases/1.4.txt
+++ b/docs/releases/1.4.txt
@@ -780,9 +780,10 @@ removed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``open`` method of the base Storage class took an obscure parameter
-``mixin`` which allowed to dynamically change the base classes of the
-returned file object. In the rare case you relied on the `mixin` parameter,
-you can easily achieve the same by overriding the `open` method, e.g.::
+``mixin`` which allowed you to dynamically change the base classes of the
+returned file object. This has been removed. In the rare case you relied on the
+`mixin` parameter, you can easily achieve the same by overriding the `open`
+method, e.g.::
from django.core.files import File
from django.core.files.storage import FileSystemStorage