mirror of
https://github.com/Hopiu/django.git
synced 2026-05-12 09:33:10 +00:00
Fixed #11056 -- Corrected reference to File class in storage docs. Thanks to wam for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d3bd3203f9
commit
74131e82eb
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ modify the filename as necessary to get a unique name. The actual name of the
|
|||
stored file will be returned.
|
||||
|
||||
The ``content`` argument must be an instance of
|
||||
:class:`django.db.files.File` or of a subclass of
|
||||
:class:`~django.db.files.File`.
|
||||
:class:`django.core.files.File` or of a subclass of
|
||||
:class:`~django.core.files.File`.
|
||||
|
||||
``Storage.delete(name)``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Reference in a new issue