djangosnippets.org: Latest snippets tagged with 'auto increment'https://djangosnippets.org/tags/auto-increment/2010-07-23T11:23:53.045296-05:00Arbitrary auto-generated primary keys
2010-07-23T11:23:53.045296-05:00gsakkishttps://djangosnippets.org/snippets/2122/<p>Auto-incremented primary keys are the default in Django and they are supported natively in most databases but for anything more complex things are less trivial. DB sequences are not standard, may not be available and even if they are, they are typically limited to simple integer sequence generators. This snippet …</p>
Freely redistributable