mirror of https://github.com/django/django.git
Tweaked title level in custom file storage systems documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2cb2674048
commit
a2c19f7984
|
@ -68,7 +68,7 @@ passed in, but if the storage needs to change the file name return the new name
|
|||
instead).
|
||||
|
||||
``get_valid_name(name)``
|
||||
------------------------
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Returns a filename suitable for use with the underlying storage system. The
|
||||
``name`` argument passed to this method is the original filename sent to the
|
||||
|
@ -79,7 +79,7 @@ The code provided on ``Storage`` retains only alpha-numeric characters, periods
|
|||
and underscores from the original filename, removing everything else.
|
||||
|
||||
``get_available_name(name)``
|
||||
----------------------------
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Returns a filename that is available in the storage mechanism, possibly taking
|
||||
the provided filename into account. The ``name`` argument passed to this method
|
||||
|
|
Loading…
Reference in New Issue