paulocheque/django-dynamic-fixture — pull request #34 by dmrz (2013-10-01 18:41:23+00:00)
Title: Getting proper random values for small/positivesmall integer fields

From Django documentation:

* **SmallIntegerField** - Values from -32768 to 32767 are safe in all databases supported by Django.
* **PositiveSmallIntegerField** - Values up to 32767 are safe in all databases supported by Django.

Default integer field random range 1 - 1000000 will eventually emit values that can cause database errors for both of those fields.

I'm sorry I did't provide a test :(