django1/django/core/files
Jacob Kaplan-Moss 5366aa96fe Fixed #10258: handle duplicate file names better.
Instead of just continually appending "_" to duplicate file names, Django's
default storage now appends `_1`, `_2`, `_3`, etc.

Thanks to ianschenck and Thilo.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 22:39:22 +00:00
..
__init__.py File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features. 2008-08-08 20:59:02 +00:00
base.py Fixed #10404: ImageField height_field and width_field options no longer depend on putting the image field after the height/width fields as they did after r9766. 2009-05-11 09:57:19 +00:00
images.py Fixed #6054: work around PIL's installation brokeness by detecting either of the two ways it can end up being installed. 2010-02-14 18:28:28 +00:00
locks.py Fixed #8403 -- Changed the use of fcntl.flock() to fcntl.lockf(). On some 2008-08-28 19:28:45 +00:00
move.py Fixed #8900: Added errno=13 (permission denied) to the class of ignored OSErrors when attempting to delete the old file in file_move_safe. 2009-04-05 04:41:39 +00:00
storage.py Fixed #10258: handle duplicate file names better. 2010-02-23 22:39:22 +00:00
temp.py Fixed #7712, #9404, #10249, #10300: a light refactor and cleanup of file storage and the `File` object. Thanks to Armin Ronacher and Alex Gaynor. 2009-05-08 15:08:09 +00:00
uploadedfile.py Fixed #10404: ImageField height_field and width_field options no longer depend on putting the image field after the height/width fields as they did after r9766. 2009-05-11 09:57:19 +00:00
uploadhandler.py Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code comments. Thanks kaikuehne. 2009-05-17 16:45:28 +00:00
utils.py Fixed #7712, #9404, #10249, #10300: a light refactor and cleanup of file storage and the `File` object. Thanks to Armin Ronacher and Alex Gaynor. 2009-05-08 15:08:09 +00:00