mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
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
This commit is contained in:
parent
6bfae3de7c
commit
16ad0530c5
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue