Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit a2c19f7984dd33519b923bbf5a7973b77769d42f 1 parent 2cb2674
@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.