ixc/glamkit-adminboost — pull request #2 by jonhuber (2013-03-28 01:00:03+00:00)
Title: Added InMemoryUploadedFile handling to PreviewImageWidget 

Previously, the PreviewImageWidget used a try-except block on a ValueError to prevent thumbnail generation on a InMemoryUploadedFile value. I switched this to a explicit check on the value because this no longer throws a ValueError on a InMemoryUploadedFile value.