diff options
| author | Anssi Kääriäinen <anssi.kaariainen@thl.fi> | 2016-01-20 11:05:48 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-20 19:13:05 -0500 |
| commit | ee596888e1149864e7828f5cf63c0eda395744c3 (patch) | |
| tree | 253a10367482c35c32fa47fa91bdbaaca7987a02 /tests/m2m_through/models.py | |
| parent | 2d28144c9519f4e4397c70f045c2b1d31437bf69 (diff) | |
Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model.
Diffstat (limited to 'tests/m2m_through/models.py')
| -rw-r--r-- | tests/m2m_through/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/m2m_through/models.py b/tests/m2m_through/models.py index c25303f6f5..dab3be5164 100644 --- a/tests/m2m_through/models.py +++ b/tests/m2m_through/models.py @@ -65,6 +65,7 @@ class CustomMembership(models.Model): class Meta: db_table = "test_table" + ordering = ["date_joined"] class TestNoDefaultsOrNulls(models.Model): |
