Django 1.4 support for Firebird ready for tests
Maximiliano Robaina wrote on django-firebird group
I would just like to say that the first attempt to support django 1.4 is ready for test, but we have a few considerations related to this release.
First, this test version live in github.com/maxirobaina/django-firebird
For now, this repo is just for test but I think that will be the next official home in short time.
Second, the way as insert worked was deprecated. At previous versions we have contemplated not to use triggers for manage auto incremental fields, the value of autoinc fields were generated on python code by using GEN_ID or NEXT VALUE FOR according to firebird version. Now, is necessary to have triggers (and sequences/generators) for inserts and set new primary key values, then, if you are using a legacy database without this, It will not work.
If anybody think that is a bad idea remove this behavior and need it, we can discuss about it.
Third, obviously django-firebird doesn’t pass all the django test suite.
For example, django try to create a field as decimal(38,30)
django.db.utils.DatabaseError: (-842, u’isc_dsql_prepare: \n Dynamic SQL Error\n SQL error code = -842\n Precision must be from 1 to 18 — CREATE TABLE “MODEL_FIELDS_BIGD” (\n “ID” integer NOT NULL PRIMARY KEY,\n “D” decimal(38, 30) NOT NULL\n)\n;’)
And of course, we need to have our own test suite.
That is all. Feel free to try and to express your opinion.