mirror of
https://github.com/django/django.git
synced 2025-10-28 18:43:19 +00:00
Added condition to prevent checking the existence of a file name of a file like object when the name attribute is None. This is necessary because a SpooledTemporaryFile won't exist on the file system or have a name until it has reached its max_size. Also added tests. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| magic.png | ||
| test.png | ||
| test1.png | ||
| tests.py | ||