diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-02-03 11:07:21 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-02-03 11:07:21 +0000 |
| commit | ecadf675690c2cc9375e9af70ebd1528841eae76 (patch) | |
| tree | b2470a54ac83e70e285c4f465c832a298cc8fb9d /tests/modeltests/aggregation/fixtures/initial_data.json | |
| parent | a008b5c9abae582ca31578ff7d6842d0d6b00e27 (diff) | |
Fixed #10127 -- Corrected (no, really, this time!) the way the select_related() cache is populated when annotations are also contained in the query. Thanks to Sylvain Pasche <sylvain.pasche@gmail.com> for the report and test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/aggregation/fixtures/initial_data.json')
| -rw-r--r-- | tests/modeltests/aggregation/fixtures/initial_data.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/modeltests/aggregation/fixtures/initial_data.json b/tests/modeltests/aggregation/fixtures/initial_data.json index 0ff26d9ed3..a0021001e7 100644 --- a/tests/modeltests/aggregation/fixtures/initial_data.json +++ b/tests/modeltests/aggregation/fixtures/initial_data.json @@ -49,6 +49,7 @@ "price": "30.00", "rating": 4.5, "authors": [1, 2], + "contact": 1, "pages": 447, "pubdate": "2007-12-6" } @@ -63,6 +64,7 @@ "price": "23.09", "rating": 3.0, "authors": [3], + "contact": 3, "pages": 528, "pubdate": "2008-3-3" } @@ -77,6 +79,7 @@ "price": "29.69", "rating": 4.0, "authors": [4], + "contact": 4, "pages": 300, "pubdate": "2008-6-23" } @@ -91,6 +94,7 @@ "price": "29.69", "rating": 4.0, "authors": [5, 6, 7], + "contact": 5, "pages": 350, "pubdate": "2008-11-3" } @@ -105,6 +109,7 @@ "price": "82.80", "rating": 4.0, "authors": [8, 9], + "contact": 8, "pages": 1132, "pubdate": "1995-1-15" } @@ -119,6 +124,7 @@ "price": "75.00", "rating": 5.0, "authors": [8], + "contact": 8, "pages": 946, "pubdate": "1991-10-15" } @@ -195,7 +201,7 @@ "fields": { "age": 37, "friends": [6, 7], - "name": "Jeffrey Forcier " + "name": "Jeffrey Forcier" } }, { |
