Blog Archive for August 24, 2010

Fetch Oracle Sequence when Saving Django Model

August 24, 2010

I have some Django models on top of an Oracle database. Normally, when generating database tables from Django in Oracle, a sequence is created for the primary key and a trigger is added to automatically populate the serial column. In this case, I couldn't change the database to add the …