iamteem/redisco — pull request #29 by clarete (2012-04-24 15:30:25+00:00)
Title: Fix for the issue #20

Before this patch, this code used to fail:

>>> class Person(models.Model):
... name = models.CharField(required=True, unique=True)
>>> p = Person(name='Lincoln')
>>> p.save()
>>> assert Person.objects.get_by_id(p.id).is_valid()