Commit 1332e898 authored by Ramiro Morales's avatar Ramiro Morales
Browse files

[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
parent f9f2f4b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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