[django/django] ea3fe7: Fixed #20660 -- Do not try to delete an unset Fiel...

1 view
Skip to first unread message

GitHub

unread,
Jun 29, 2013, 12:10:29 PM6/29/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: ea3fe78a9d742904f6902cdc353a11d795418105
https://github.com/django/django/commit/ea3fe78a9d742904f6902cdc353a11d795418105
Author: Claude Paroz <cla...@2xlibre.net>
Date: 2013-06-29 (Sat, 29 Jun 2013)

Changed paths:
M django/db/models/fields/files.py
M tests/model_fields/tests.py

Log Message:
-----------
Fixed #20660 -- Do not try to delete an unset FieldFile

Thanks stanislas.guerra at gmail.com for the report and
Baptiste Mispelon for the review.


Commit: 7fbab3ebaf8b60bbe847b772f895df47067a60d3
https://github.com/django/django/commit/7fbab3ebaf8b60bbe847b772f895df47067a60d3
Author: Claude Paroz <cla...@2xlibre.net>
Date: 2013-06-29 (Sat, 29 Jun 2013)

Changed paths:
M django/core/files/storage.py
M tests/file_storage/tests.py

Log Message:
-----------
Do not allow FileSystemStorage.delete to receive an empty name

Refs #20660.


Compare: https://github.com/django/django/compare/b5f709e6f4c6...7fbab3ebaf8b
Reply all
Reply to author
Forward
0 new messages