1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
django/tests/modeltests
Luke Plant 2b2f92ae8e Fixed a bug in r11646 - refs #11402
The one line of code not covered by a test... ;-)


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-24 00:37:01 +00:00
..
aggregation Make sure that all uses of max_length in the test suite use values smaller than 255. If we use max_length > 255 the test suite can't be run on MySQL 4. 2009-05-07 18:06:22 +00:00
basic Fixed #7672 -- Added a 'week_day' lookup type. Many thanks to Ross Poulton for the proposal and implementation on all built-in database backends.. 2009-02-08 05:08:06 +00:00
choices
custom_columns
custom_managers
custom_methods
custom_pk Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case. 2009-06-15 11:47:01 +00:00
defer Fixed #10572 -- Corrected the operation of the defer() and only() clauses when used on inherited models. 2009-06-06 06:14:05 +00:00
delete Fixed #9308 -- Corrected the updated of nullable foreign key fields when deleting objects. Thanks to Bob Thomas for the fix, and markshep for the improvements on the test case. 2009-05-19 12:44:17 +00:00
empty
expressions Fixed #11886 -- Corrected handling of F() expressions that use parentheses. Thanks to Brent Hagany for the report. 2009-09-16 12:09:47 +00:00
field_defaults Fixed #6052 -- Worked around a bug in MySQLdb with regards to handling 2008-11-16 08:50:06 +00:00
field_subclassing
files Fixed #7712, #9404, #10249, #10300: a light refactor and cleanup of file storage and the File object. Thanks to Armin Ronacher and Alex Gaynor. 2009-05-08 15:08:09 +00:00
fixtures Fixed #5610 -- Added the ability for dumpdata to take individual model names, as well as entire applications. Thanks to David Reynolds for his work on this patch. 2009-02-28 05:35:22 +00:00
force_insert_update
generic_relations Fixed #10271, #10281 -- Fixed the handling multiple inline models that share a common base class and have the link to the inline parent on the base class. Includes modifications that allow the equivalent handling for GenericFields. Thanks to Idan Gazit, Antti Kaihola (akaihola), and Alex Gaynor for their work on this patch. 2009-03-10 11:19:26 +00:00
get_latest
get_object_or_404 Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code comments. Thanks kaikuehne. 2009-05-17 16:45:28 +00:00
get_or_create Fixed #8669 -- Use a consistent version of create() across the board for 2008-09-03 00:09:33 +00:00
invalid_models Fixed #5563: BooleanField(null=True) now raises a validation warning telling users to use NullBooleanField instead. Thanks, SamBull. 2009-04-09 15:09:35 +00:00
lookup Fixed a bug in r11646 - refs #11402 2009-10-24 00:37:01 +00:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_through
m2o_recursive
m2o_recursive2
many_to_many Fixed #10413: RelatedManager.add no longer fails silenty when trying to add an object of the wrong type. Thanks, dgouldin. 2009-03-30 22:41:49 +00:00
many_to_one Fixed #10413: RelatedManager.add no longer fails silenty when trying to add an object of the wrong type. Thanks, dgouldin. 2009-03-30 22:41:49 +00:00
many_to_one_null
model_forms Changes to ImageFileDescriptor and ImageField to fix a few cases of setting image dimension fields. 2009-05-28 05:46:09 +00:00
model_formsets Fixed #9493 -- Corrected error handling of formsets that violate unique constraints across the component forms. Thanks to Alex Gaynor for the patch. 2009-05-07 12:17:52 +00:00
model_inheritance
mutually_referential
one_to_one Fixed #10157: correctly set the related objects pk when assigning a reverse OneToOne. Thanks, dgouldin. 2009-03-30 22:38:19 +00:00
or_lookups
order_with_respect_to Fixed #9615 -- Typo fix to testcase. Thanks jarrow. 2008-11-21 16:54:10 +00:00
ordering Fixed #7302: Corrected quoting of columns in extra_group_by. Thanks to Ivan Sagalaev for the patch and initial test. 2008-09-01 12:07:26 +00:00
pagination
properties
proxy_models Fixed #11194 -- Corrected loading of Proxy models from fixtures (and, by extension, save_base(raw=True) for Proxy models). 2009-06-08 13:35:39 +00:00
reserved_names
reverse_lookup
save_delete_hooks
select_related
serializers Fixed #9522 -- Modified handling of values in base serializer so that field subclasses can define their own value_to_string() method for serialization. Thanks to Alex Koshelev for the report and initial patch. 2009-04-13 12:35:49 +00:00
signals Fixed #11134: signals recievers that disconnect during their processing no longer mess things up for other handlers. Thanks, Honza Kral. 2009-05-20 16:13:55 +00:00
str
test_client Fixed #9978 -- Fixed a KeyError exception that was being raised when using the logout method on the test client on an unauthenticated user, based on patch from ericholscher. 2009-03-30 22:52:48 +00:00
transactions Fixed #11392 -- Enforced a predictable result order for a couple of test cases. Thanks to Nathan Auch for the report and patch. 2009-06-29 12:29:48 +00:00
unmanaged_models Fixed the tests from #10455 so that they are set up correctly. 2009-04-11 02:12:31 +00:00
update
user_commands Fixed #10080: call_command now takes option defaults into account, sparing individual commands from any difference between call_command and being run from the shell. Thanks, Alex Koshelev. 2009-04-05 17:27:26 +00:00
__init__.py