djangosnippets.org: Latest snippets tagged with 'bigserial'http://djangosnippets.org/tags/bigserial/2008-12-12T02:32:57.402707-06:00BigIntegerField and BigAutoField
2008-12-12T02:32:57.402707-06:00fnlhttp://djangosnippets.org/snippets/1244/<p>Allows to create bigint (mysql), bigserial (psql), or NUMBER(19) (oracle) fields which have auto-increment set by using the AutoField of django, therefore ensuring that the ID gets updated in the instance when calling its 'save()' method.</p>
<p>If you would only subclass IntegerField to BigIntegerField and use that as your primary …</p>
Freely redistributable