liberation/redis-limpyd — pull request #39 by twidi (2012-08-11 13:36:46+00:00)
Title: Respect fields order when creating

1/ Always keep the pk as the first field
2/ Deny creating instance passing 2 pk field names
3/ Create instance with pk first, then ordered fields:

> When creating an instance with a PKField (not AutoPKField), always set the pk field first to be able to set indexed fields (without pk, a field cannot be indexed).
> Then the other fields are set respecting the order defined in the model