melinath / django-daguerre

On-the-fly image manipulation for Django.
http://django-daguerre.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
85 stars 15 forks source link

Race conditions cause image adjustment to fail. #24

Closed melinath closed 11 years ago

melinath commented 11 years ago

If at any point multiple version of an image are created or multiple versions of an adjusted image, various functions fail with a MultipleObjectsReturned (or whatever that error's called). We need a better failure mode (for example, just take the first one). We could also delete the others, or provide a management command which deletes duplicates.

melinath commented 11 years ago

Resolved with 4a111760a88dda9524b97ad9d6c001b2957b49d5.