django1/django/db/models
Malcolm Tredinnick 915001ad0b Fixed #7109 -- Quote certain values before passing them for substitution in
Field.db_type().

This fixes a problem with using reserved words for field names in Oracle. Only
affects Oracle at the moment, but the same changes could easily be used by
other backends if they are required (requires changing creation.py, only).

This commit also reverts [7501] so that if the fix doesn't work, it will show
up in the tests (and if it does work, the tests will prevent us from breaking
it again).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 03:11:32 +00:00
..
fields Fixed #7109 -- Quote certain values before passing them for substitution in 2008-06-26 03:11:32 +00:00
sql Fixed a problem when constructing complex select_related() calls. 2008-06-26 01:02:11 +00:00
__init__.py Added the small changes necessary to make creating custom model fields easier. 2007-11-05 13:59:42 +00:00
base.py Fixed bug with Model.delete() which did not always delete objects in the right order. 2008-06-21 20:57:05 +00:00
loading.py Added tests for corner case with deleting where objects are deleted in the wrong order. 2008-06-21 20:55:17 +00:00
manager.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
manipulators.py Fixed #5444 -- Changed manipulator class construction to use type(), rather than types.ClassType(). Helps with Jython compatibility. Patch from Leo Soto. 2007-09-15 11:06:32 +00:00
options.py Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems: 2008-06-09 14:03:35 +00:00
query.py Removed the bulk of the sanity checking when merging QuerySets. 2008-06-26 02:20:45 +00:00
query_utils.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
related.py An improved version of the change attempted in [4693]: retain backwards 2007-03-10 07:37:08 +00:00
signals.py MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. 2006-05-02 01:31:56 +00:00