Re: DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Jose Paul
Hi Simon, I am working on this support . But the test case generates sql with null values for non null fields. We cannot change the model ,because this is part of python ,i believe. The problem might be the schema generated for the table from the model . I can see only one field as non null in

Re: DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Simon Charette
Hi Jose, I looks like ibm_db_django doesn't support Django 1.6+ yet . Simon Le lundi 21 septembre 2015 07:14:39 UTC-4, Jose Paul a écrit : > > I am trying to run DJango 1.8 test cases with DB2 > > Several insert statement fails > > Here is the inser

Re: DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Jose Paul
Please see the call stack too ,for one of the error "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\admin_filters\tests.py", line 229, in setUp self.alfred = User.objects.create_user('alfred', 'alf...@example.com') File "C:\Python27\lib\site-packages\django\con

DJango 1.8 test case fails with IntegrityError error

2015-09-21 Thread Jose Paul
I am trying to run DJango 1.8 test cases with DB2 Several insert statement fails Here is the insert command generated by test case. INSERT INTO "AUTH_USER" ("PASSWORD", "LAST_LOGIN", "IS_SUPERUSER", "USERNAME", "FIRST_NAME", "LAST_NAME", "EMAIL", "IS_STAFF", "IS_ACTIVE", "DATE_JOINED") VALUES