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 :(