django/tests/modeltests
Ramiro Morales 730769d1af Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty.
Existing modelforms tests were extended to cover this case and an equivalent set of tests was added for the model functionality.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-09 13:26:39 +00:00
..
aggregation
basic
choices
custom_columns Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. 2010-10-09 08:12:50 +00:00
custom_managers
custom_methods
custom_pk
defer
delete Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
empty
expressions
field_defaults
field_subclassing
files Fixed #14749 -- added support for using Django's file object as context managers. Thanks to Florian Apolloner for the patch. 2010-11-21 17:51:41 +00:00
fixtures Tiny doc fix. Thanks kizzo. 2010-12-14 00:37:42 +00:00
fixtures_model_package Pass commit=False to loaddata in tests, which will keep the DB connection open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail. 2010-09-10 19:16:43 +00:00
force_insert_update
generic_relations
get_latest
get_object_or_404
get_or_create
invalid_models Fixed #7726 -- Added validation of max_digits and decimal_places options to DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch. 2010-12-29 01:18:11 +00:00
lookup Fixed #5768 -- Added support for ManyToManyFields and reverse relations in values() and values_list(). Thanks to mrmachine for the patch. 2010-11-21 02:28:25 +00:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_signals Converted m2m_signals from doctests to unittests. Thanks to Gregor Müllegger for the patch. We have always been at war with doctests. 2010-11-12 19:39:22 +00:00
m2m_through
m2o_recursive
many_to_many
many_to_one
many_to_one_null
model_forms Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty. 2011-01-09 13:26:39 +00:00
model_formsets Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
model_inheritance Converted model_inheritance doctests to unittests. We have always been at war with doctests. 2010-10-25 18:20:07 +00:00
model_inheritance_same_model_name
model_package
mutually_referential
one_to_one Migrated one_to_one doctests. Thanks to George Sakkis for the patch. (We have always been at war with doctests) 2010-10-12 00:56:19 +00:00
or_lookups Converted or_lookups tests from doctests to unittests. We have always been at war with doctests. Thanks to Paul Tax for the patch. 2010-10-16 17:00:11 +00:00
order_with_respect_to
ordering
pagination
properties
proxy_model_inheritance
proxy_models
raw_query Fixed #14700 -- ensure that a raw query is only executed once per iteration. 2010-12-03 20:25:59 +00:00
reserved_names
reverse_lookup
save_delete_hooks
select_related Fixed result ordering assumptions in the select_related tests. 2010-12-01 21:35:54 +00:00
serializers
signals Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
str
test_client Fixed #14939: Don't strip ;-parameters from URLs in the test client. 2010-12-22 23:55:13 +00:00
transactions
unmanaged_models
update Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. 2010-12-04 07:28:12 +00:00
user_commands
validation Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty. 2011-01-09 13:26:39 +00:00
validators Fixed #14598 -- Changed some 'domain.com' uses to 'example.com' 2010-11-02 16:19:17 +00:00
__init__.py