django/tests/regressiontests/queries
Anssi Kääriäinen 584e2c0337 Prevent Oracle from changing field.null to True
Fixed #17957 -- when using Oracle and character fields, the fields
were set null = True to ease the handling of empty strings. This
caused problems when using multiple databases from different vendors,
or when the character field happened to be also a primary key.

The handling was changed so that NOT NULL is not emitted on Oracle
even if field.null = False, and field.null is not touched otherwise.

Thanks to bhuztez for the report, ramiro for triaging & comments,
ikelly for the patch and alex for reviewing.
2012-04-29 19:25:46 +03:00
..
__init__.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
models.py Simplified QuerySet field.null handling 2012-04-29 16:27:25 +03:00
tests.py Prevent Oracle from changing field.null to True 2012-04-29 19:25:46 +03:00