django1/django/db/models
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
..
fields Prevent Oracle from changing field.null to True 2012-04-29 19:25:46 +03:00
sql Prevent Oracle from changing field.null to True 2012-04-29 19:25:46 +03:00
__init__.py Fixed #15604 -- Changed django.db.models.permalink to use wraps() so that it doesn't eat the docstring. Thanks for the report, sfllaw. Also added tests. 2011-03-14 05:22:39 +00:00
aggregates.py Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
base.py Fixed #17615 -- Corrected unique field validation when using multitable inheritance. The validation used wrong pk value if the parent and child model had different pk fields. Thanks ungenio for the report and patch. 2012-04-20 17:34:29 +00:00
deletion.py Fixed #18083 -- Fixed cascade deletion with proxy model of concrete subclass. Thanks Simon Charette for report and patch. 2012-04-09 22:41:20 +00:00
expressions.py Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch. 2011-03-28 02:11:19 +00:00
loading.py Fixed #7198 (again) -- Corrects a problem with string interpolation from r16876 and adds tests for the new error message. 2011-09-22 21:09:00 +00:00
manager.py Fixed #16937 - added `QuerySet.prefetch_related` to prefetch many related objects. 2011-10-05 23:14:52 +00:00
options.py Fixed #16128 - Correctly cascade-delete proxy models as if they were the concrete model class. Thanks xkennyx for the report, and Aymeric Augustin, Claude Paroz, Adam Nelson, jaap3, and Anssi Kääriäinen for work on the patch. 2012-03-05 03:41:01 +00:00
query.py Fixed #10494 -- Added kwargs to QuerySet.get() error message in the case no objects were found. 2012-04-20 11:09:32 +00:00
query_utils.py Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
related.py Fixed #5833 -- Modified the admin list filters to be easier to customize. Many thanks to Honza Král, Tom X. Tobin, gerdemb, eandre, sciyoshi, bendavis78 and Julien Phalip for working on this. 2011-05-03 10:44:23 +00:00
signals.py Fixed #13552 -- Added a 'using' parameter to database signals. Thanks to gmandx for the suggestion, and Andrew Godwin for the patch. 2010-08-07 06:27:52 +00:00