paulocheque/django-dynamic-fixture — pull request #6 by tobych (2012-08-15 20:45:37+00:00)
Title: Towards fixing #5

This won't cover all cases; just integer defaults. You're allowed other types as a PK, and the code should really check that it's not being assigned exactly what it needs, perhaps, rather than checking that `data` is in a specified set.