1
0
mirror of https://github.com/django/django.git synced 2024-11-19 16:04:13 +00:00
django/tests/modeltests
Anssi Kääriäinen 69a46c5ca7 Tests for various emptyqs tickets
The tickets are either about different signature between qs.none() and
qs or problems with subclass types (either EmptyQS overrided the custom
qs class, or EmptyQS was overridden by another class - values() did
this).

Fixed #15959, fixed #17271, fixed #17712, fixed #19426
2013-01-06 19:18:29 +02:00
..
aggregation [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
basic Tests for various emptyqs tickets 2013-01-06 19:18:29 +02:00
choices [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_columns [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_managers [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_methods [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
custom_pk Use a name that exists in both python2 and 3, 2012-08-15 01:13:09 -07:00
defer [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
delete Fixed a DeprecationWarning under Python 3. 2012-10-24 16:52:21 +02:00
distinct_on_fields [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
empty [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
expressions Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
field_defaults [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
field_subclassing Use new TestCase methods for equality comparisons 2012-12-24 00:24:14 +00:00
files Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b. 2012-12-27 09:37:57 +01:00
fixtures Use new TestCase methods for equality comparisons 2012-12-24 00:24:14 +00:00
fixtures_model_package [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
force_insert_update Fixed various dodgy behaviours 2011-12-17 17:37:24 +00:00
generic_relations Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
get_latest [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
get_object_or_404 Fixed #19173 -- Made EmptyQuerySet a marker class only 2013-01-06 19:18:28 +02:00
get_or_create Revert "Fixed #16865 -- Made get_or_create use read database for initial get query." 2012-09-19 11:15:12 -06:00
invalid_models Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. 2012-11-04 10:16:06 -08:00
known_related_objects Minor fixes in the known_related_objects tests. 2013-01-02 22:21:46 +01:00
lookup Fixed #19173 -- Made EmptyQuerySet a marker class only 2013-01-06 19:18:28 +02:00
m2m_and_m2o [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_intermediary [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_multiple [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_recursive Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
m2m_signals [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2m_through [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
m2o_recursive [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
many_to_many [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
many_to_one Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering 2012-12-13 13:33:11 +02:00
many_to_one_null [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_forms Fixed autopk issue in tests 2012-12-29 16:25:24 +02:00
model_formsets [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_inheritance [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_inheritance_same_model_name [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
model_package Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
mutually_referential Convert all modeltests to use absolute imports, rather than relative ones. 2011-10-13 18:04:12 +00:00
one_to_one [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
or_lookups [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
order_with_respect_to [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
ordering [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
prefetch_related Fixed #17991 - prefetch_related fails with GenericRelation and varchar ID field 2012-10-29 14:31:54 +00:00
properties Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch. 2012-03-30 08:02:08 +00:00
proxy_model_inheritance Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:13:52 +01:00
proxy_models Fixed #3011 -- Added swappable auth.User models. 2012-09-26 18:48:09 +08:00
raw_query Fixed two typos. 2012-11-25 19:31:53 +01:00
reserved_names [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
reverse_lookup [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
save_delete_hooks [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
select_for_update [py3] Fixed remaining Python 3 syntax errors. 2012-07-22 09:29:53 +02:00
select_related Silenced warnings in the tests of deprecated features. 2012-12-29 22:32:07 +01:00
serializers [py3] Fixed uses of __metaclass__ in tests. 2012-08-15 00:31:29 +02:00
signals [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
str Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible. 2012-11-27 09:45:37 +01:00
tablespaces Added missing relative imports in test files. 2012-05-12 19:58:32 +02:00
test_client Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mail 2012-09-26 14:14:51 +02:00
timezones Fixed timezone tests when dict randomization is on 2012-10-25 23:14:17 +02:00
transactions [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
unmanaged_models [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
update [py3] Refactored __unicode__ to __str__. 2012-08-12 14:44:40 +02:00
update_only_fields [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
user_commands [py3] Used compatible imports of StringIO. 2012-08-08 14:50:01 +02:00
validation [py3k] Silence many warnings while running the tests. 2012-09-07 13:17:34 -04:00
validators Fixed #17867 -- Made email validation pass with IDN domains 2012-10-09 15:08:32 +02:00
__init__.py