ella/ella — pull request #124 by VladoBrigant (2012-09-06 17:25:46+00:00)
Title:  Fixed 'Format' object creation with custom id.

Creating 'Format' object with specified id (not existing) raises "DatabaseError: Forced update did not affect any rows." exception, because force_update is always set to True.

Code raising exception:

from ella.photos.models import Format

f = Format()
f.max_width = 100
f.max_height = 100
f.id = 432
f.save()