django/tests/modeltests
Russell Keith-Magee 75c8c1de9a Fixed #12404 -- Improved model validation for CharField and DecimalField. Thanks to tiliv for the report, josh for the patch, and Leo for the tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-12 15:22:05 +00:00
..
aggregation Fixed #12948. Removed a test dependency on the formatting of Decimals. Thanks, coleifer. 2010-02-23 21:58:58 +00:00
basic Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
choices
custom_columns
custom_managers
custom_methods
custom_pk Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
defer Fixed #11936 -- Removed deferred models from the list returned by the app_cache. Thanks to ryszard for the report, and clamothe for the initial patch. 2009-12-22 06:01:23 +00:00
delete Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
empty
expressions Fixed an unspecified ordering in the expression tests that could lead to a heisenbug. 2010-02-23 23:02:10 +00:00
field_defaults
field_subclassing Fixed #12734. Deferred fields will now be properly converted to python when accessed. Thanks, Alex Gaynor. 2010-02-24 19:06:59 +00:00
files Fixed the files test to not care whether the names are reported as bytestrings or unicode. Refs #12898. 2010-03-03 13:40:52 +00:00
fixtures Fixed #12672 -- Added the ability to configure which applications are available on which database. 2010-01-25 12:23:30 +00:00
fixtures_model_package Fixed #6961 - loaddata fails if models is a package instead of a module 2009-12-19 14:27:26 +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
invalid_models Fixed #12404 -- Improved model validation for CharField and DecimalField. Thanks to tiliv for the report, josh for the patch, and Leo for the tests. 2010-03-12 15:22:05 +00:00
lookup Fixed #12142 -- EmptyQuerySet.update() no longer updates all rows in the database 2010-01-10 17:53:19 +00:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2m_signals Fixed #5390 -- Added signals for m2m operations. Thanks to the many people (including, most recently, rvdrijst and frans) that have contributed to this patch. 2010-01-13 11:07:16 +00:00
m2m_through Fixed #10109 -- Removed the use of raw SQL in many-to-many fields by introducing an autogenerated through model. 2009-11-03 14:02:49 +00:00
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 #12876 -- Corrected a problem with recursive relations under deepcopy. Thanks to elachuni for the patch. 2010-03-07 07:11:22 +00:00
many_to_one_null
model_forms Fixed #12901. Again. Model validation will not be performed on excluded fields that were overridden in the form. Thanks, ammarr. 2010-02-25 17:18:27 +00:00
model_formsets Fixed #11940 - ModelForm evaluates callable default values on form class creation 2010-03-08 15:03:30 +00:00
model_inheritance Fixed #12152. DoesNotExist and MultipleObjectsReturned now subclass their parent model's exceptions. Thanks, mattmcc and Alex Gaynor. 2010-02-24 14:32:11 +00:00
model_inheritance_same_model_name Fixed #9638 - Added %(app_label)s to the related_name format string for abstract models. 2010-01-09 20:03:52 +00:00
model_package Fixed an Oracle test failure introduced in [12226]. 2010-01-19 18:09:03 +00:00
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
ordering
pagination
properties
proxy_models Removed more stray tabs in Python files. 2010-02-27 16:30:27 +00:00
raw_query Fixed #12731. Fixed a bug with .raw() and inheritance. Thanks, Alex Gaynor. 2010-02-23 19:39:06 +00:00
reserved_names
reverse_lookup
save_delete_hooks
select_related
serializers Fixed #12524 -- Clarified handling of pre-1000AD dates in datetime_safe (and thus, the serializers). Patch includes moving the datetime_safe tests into the utils regressiontests module. Thanks to gsf for the report and initial patch. 2010-02-13 14:02:32 +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 #12011 -- Modified the test client to preserve the request scheme on a redirect. Thanks to tgardner for the report and patch. 2010-02-13 12:01:14 +00:00
transactions Fixed #11900 -- Corrected an edge case of transaction handling in the commit_on_success decorator. Thanks to guettli for the report, and Gabriel Hurley for the initial test case. 2010-03-12 14:10:01 +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
validation Fixed #12647. Allow unique_together checks be specified as lists as well as tuples. Thanks, Honza Král. 2010-02-10 00:49:33 +00:00
validators Fixed #12590. Changed an expression in the validators tests to work correctly with python 2.4. Thanks, ramiro. 2010-01-21 03:02:13 +00:00
__init__.py