mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #9893 -- Removed shims for lack of max_length support in file storage per deprecation timeline.
This commit is contained in:
parent
6a70cb5397
commit
1bb6ecf6d3
6 changed files with 2 additions and 84 deletions
|
@ -118,10 +118,6 @@ The Storage Class
|
|||
7 character alphanumeric string is appended to the filename before
|
||||
the extension.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
The ``max_length`` argument was added.
|
||||
|
||||
.. method:: get_valid_name(name)
|
||||
|
||||
Returns a filename based on the ``name`` parameter that's suitable
|
||||
|
@ -168,10 +164,6 @@ The Storage Class
|
|||
:class:`django.core.files.File` or of a subclass of
|
||||
:class:`~django.core.files.File`.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
The ``max_length`` argument was added.
|
||||
|
||||
.. method:: size(name)
|
||||
|
||||
Returns the total size, in bytes, of the file referenced by ``name``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue