0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/modeltests
2008-03-19 23:10:45 +00:00
..
basic Fixed #2936, #6500 -- Added a __hash__() method to Models (since we implement our own __eq__ method). 2008-02-19 01:59:34 +00:00
choices Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
custom_columns Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
custom_managers Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
custom_methods Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
custom_pk Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11:51 +00:00
empty Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
field_defaults Fixed #5996 -- Add a pyscopg2 convertor for SafeUnicode -> unicode. Thanks, remco@diji.biz 2007-12-01 22:26:24 +00:00
field_subclassing Fixed #5989 -- Fixed a problem with values being incorrectly reused by 2007-11-29 19:30:49 +00:00
fixtures Fixed a typo. I think I should get full marks for getting all the letters right, but some people insist they should be in the right order, too. 2007-09-16 10:49:27 +00:00
generic_relations Fixed #3906 -- Fixed the reverse_m2m_name for a generic relation. Refs #2749. 2007-12-09 07:12:07 +00:00
get_latest Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
get_object_or_404 Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
get_or_create Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
invalid_models Fixed #3323 -- More robust error handling for related objetcs. Thanks, Greg 2007-12-02 18:10:07 +00:00
lookup Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11:51 +00:00
m2m_and_m2o Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
m2m_intermediary Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
m2m_multiple Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
m2m_recursive Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
m2o_recursive Fixed #6365 -- Added blank=True to parent attribute of m2o_recursive model example, thanks dgrant. 2008-01-13 02:19:06 +00:00
m2o_recursive2 Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
manipulators Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11:51 +00:00
many_to_many Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
many_to_one Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
many_to_one_null Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
model_forms Fixed #4620: you can now easily add custom labels to ModelChoiceFields via subclassing. Thanks, PhiR. 2008-03-19 23:10:45 +00:00
model_inheritance Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
mutually_referential Beefed up support for "lazy" related objects. Now, in addition to ForeignKey("Model") you can also say ForeignKey("app.Model"). This means that cross-app recursive relations now work. 2008-02-26 21:13:16 +00:00
one_to_one Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
or_lookups Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
ordering Made a bunch of tiny documentation formatting and typo fixes. 2008-02-15 11:38:53 +00:00
pagination Changed pagination tests to suppress the DeprecationWarning 2008-03-18 21:53:39 +00:00
properties Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
reserved_names Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
reverse_lookup Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
save_delete_hooks Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
select_related Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
serializers Fixed #5268: the YAML serializer now uses yaml.safe_dump() instead the plain yaml.dump(); this makes YAML dumps more portable, and also removes the crufty '!!python/unicode' business. Thanks, poelzi. 2007-12-04 20:31:34 +00:00
signals Fixed #5422 -- Added a raw parameter to model pre_save and post_save signals, based on patch from graham.carlyle@maplecroft.net. 2008-02-01 17:32:29 +00:00
str Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
test_client Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
transactions Fixed #2101 -- Renamed maxlength argument to max_length for oldforms FormFields and db model Fields. This is fully backwards compatible at the moment since the legacy maxlength argument is still supported. Using maxlength will, however, issue a PendingDeprecationWarning when used. 2007-08-05 05:14:46 +00:00
user_commands Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
validation Replaced dict reprs in tests with explicit looks at each key. This should fix many spurious test failures on other VMs (first noticed on Jython). 2008-03-19 19:11: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