django/tests/modeltests
Adrian Holovaty 23964a7b9a Fixed #2458 -- DB API now properly escapes backslashes, so you don't have to double-escape them. Thanks, tom@eggdrop.ch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 05:20:31 +00:00
..
basic Added {{{Manager.create()}}} method to create and save an object in a single step. 2006-06-27 20:36:25 +00:00
choices Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
custom_columns Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
custom_managers Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
custom_methods Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
custom_pk Fixed #2164 -- Create correct SQL when pk column name is not the same as the 2006-06-15 11:28:28 +00:00
empty Fixed #2512 -- Fixed SQL error when saving existing empty models. 2006-08-10 03:55:03 +00:00
field_defaults Cleaned up numbering with model unit tests 2006-05-31 19:23:07 +00:00
generic_relations Fixed #2195 -- Fixed spelling error in generic_relations model test. Other errors were fixed earlier today. Thanks, Tom Tobin 2006-06-20 03:03:43 +00:00
get_latest Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
get_or_create Added Manager.get_or_create() 2006-06-07 00:09:29 +00:00
invalid_models Fixes #2216 -- Added extra tests for model validity, and cleaned up warning messages for existing tests. Models are now invalid if the query string required to access a field (or related object) would clash with the name of another field (or related object). Previous tests only checked the accessor names, not the query string. 2006-06-27 15:21:43 +00:00
lookup Fixed #2458 -- DB API now properly escapes backslashes, so you don't have to double-escape them. Thanks, tom@eggdrop.ch 2006-08-11 05:20:31 +00:00
m2m_and_m2o Small formatting change to m2m_and_m2o model unit test 2006-07-11 03:20:11 +00:00
m2m_intermediary Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
m2m_multiple Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
m2m_recursive Fixes #2216 -- Added extra tests for model validity, and cleaned up warning messages for existing tests. Models are now invalid if the query string required to access a field (or related object) would clash with the name of another field (or related object). Previous tests only checked the accessor names, not the query string. 2006-06-27 15:21:43 +00:00
m2o_recursive Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
m2o_recursive2 Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
manipulators Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
many_to_many Fixed #2217 -- Allowed raw objects to be used in __exact and __in query terms. Existing use of primary keys in query terms is preserved. 2006-07-01 01:14:41 +00:00
many_to_one Fixes #2271 -- Added code to imply !__exact on any query argument that doesn't finish with a known query term. 2006-07-01 03:14:33 +00:00
many_to_one_null Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
model_inheritance Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
mutually_referential 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
one_to_one Fixed #2217 -- Allowed raw objects to be used in __exact and __in query terms. Existing use of primary keys in query terms is preserved. 2006-07-01 01:14:41 +00:00
or_lookups Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
ordering Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
pagination Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
properties Fixed #1683 -- Permit initialising models using settable properties as well as 2006-06-19 02:34:32 +00:00
reserved_names Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
reverse_lookup Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
save_delete_hooks Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
serializers Added a JSON serializer, a few more tests, and a couple more lines of docs. 2006-06-29 16:42:49 +00:00
str Fixed #2077 -- Renamed 'repr' model tests to 'str' 2006-06-03 22:14:04 +00:00
transactions Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
validation Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str 2006-06-04 00:23:51 +00:00
__init__.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