djangosnippets.org: Latest snippets tagged with '8-bit-integer'https://djangosnippets.org/tags/8-bit-integer/2011-08-15T17:39:42.478692-05:00TinyIntegerField
2011-08-15T17:39:42.478692-05:00Lacourhttps://djangosnippets.org/snippets/2513/<p>Django lacks support of MySQL's "tinyint" 8-bit-integer datatype. This snippet gives you a TinyIntegerField and a PositiveTinyIntegerField. Falls back Django's SmallIntegerField if a different database-engine is used</p>
Freely redistributable