django/django — pull request #2441 by vlastv (2014-03-18 11:14:12+00:00)
Title: Fixed return image dimensions

Return tuple of None if image is not valid

I use ImageField for get image and other files.
If I get other files then Django return exception ```TypeError: 'NoneType' object has no attribute '__getitem__'```