[1.2.X] Tweaked title level in custom file storage systems documentation.
Backport of [15888] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f9f2f4b7ec
commit
1332e89852
|
@ -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