Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.2.X] Tweaked title level in custom file storage systems documentat…

…ion.

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
  • Loading branch information...
commit 1332e898520a7f3c580ac0be6136ecf5be07b5c5 1 parent f9f2f4b
@ramiro ramiro authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/howto/custom-file-storage.txt
View
4 docs/howto/custom-file-storage.txt
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.