Skip to content

Commit

Permalink
Tweaked title level in custom file storage systems documentation.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ramiro committed Mar 21, 2011
1 parent 2cb2674 commit a2c19f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/howto/custom-file-storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a2c19f7

Please sign in to comment.