parts/django/tests/regressiontests/aggregation_regress/fixtures/initial_data.json
changeset 69 c6bca38c1cbf
equal deleted inserted replaced
68:5ff1fc726848 69:c6bca38c1cbf
       
     1 [
       
     2     {
       
     3         "pk": 1,
       
     4         "model": "aggregation_regress.publisher",
       
     5         "fields": {
       
     6             "name": "Apress",
       
     7             "num_awards": 3
       
     8         }
       
     9     },
       
    10     {
       
    11         "pk": 2,
       
    12         "model": "aggregation_regress.publisher",
       
    13         "fields": {
       
    14             "name": "Sams",
       
    15             "num_awards": 1
       
    16         }
       
    17     },
       
    18     {
       
    19         "pk": 3,
       
    20         "model": "aggregation_regress.publisher",
       
    21         "fields": {
       
    22             "name": "Prentice Hall",
       
    23             "num_awards": 7
       
    24         }
       
    25     },
       
    26     {
       
    27         "pk": 4,
       
    28         "model": "aggregation_regress.publisher",
       
    29         "fields": {
       
    30             "name": "Morgan Kaufmann",
       
    31             "num_awards": 9
       
    32         }
       
    33     },
       
    34     {
       
    35         "pk": 5,
       
    36         "model": "aggregation_regress.publisher",
       
    37         "fields": {
       
    38             "name": "Jonno's House of Books",
       
    39             "num_awards": 0
       
    40         }
       
    41     },
       
    42     {
       
    43         "pk": 1,
       
    44         "model": "aggregation_regress.book",
       
    45         "fields": {
       
    46             "publisher": 1,
       
    47             "isbn": "159059725",
       
    48             "name": "The Definitive Guide to Django: Web Development Done Right",
       
    49             "price": "30.00",
       
    50             "rating": 4.5,
       
    51             "authors": [1, 2],
       
    52             "contact": 1,
       
    53             "pages": 447,
       
    54             "pubdate": "2007-12-6"
       
    55         }
       
    56     },
       
    57     {
       
    58         "pk": 2,
       
    59         "model": "aggregation_regress.book",
       
    60         "fields": {
       
    61             "publisher": 2,
       
    62             "isbn": "067232959",
       
    63             "name": "Sams Teach Yourself Django in 24 Hours",
       
    64             "price": "23.09",
       
    65             "rating": 3.0,
       
    66             "authors": [3],
       
    67             "contact": 3,
       
    68             "pages": 528,
       
    69             "pubdate": "2008-3-3"
       
    70         }
       
    71     },
       
    72     {
       
    73         "pk": 3,
       
    74         "model": "aggregation_regress.book",
       
    75         "fields": {
       
    76             "publisher": 1,
       
    77             "isbn": "159059996",
       
    78             "name": "Practical Django Projects",
       
    79             "price": "29.69",
       
    80             "rating": 4.0,
       
    81             "authors": [4],
       
    82             "contact": 4,
       
    83             "pages": 300,
       
    84             "pubdate": "2008-6-23"
       
    85         }
       
    86     },
       
    87     {
       
    88         "pk": 4,
       
    89         "model": "aggregation_regress.book",
       
    90         "fields": {
       
    91             "publisher": 3,
       
    92             "isbn": "013235613",
       
    93             "name": "Python Web Development with Django",
       
    94             "price": "29.69",
       
    95             "rating": 4.0,
       
    96             "authors": [5, 6, 7],
       
    97             "contact": 5,
       
    98             "pages": 350,
       
    99             "pubdate": "2008-11-3"
       
   100         }
       
   101     },
       
   102     {
       
   103         "pk": 5,
       
   104         "model": "aggregation_regress.book",
       
   105         "fields": {
       
   106             "publisher": 3,
       
   107             "isbn": "013790395",
       
   108             "name": "Artificial Intelligence: A Modern Approach",
       
   109             "price": "82.80",
       
   110             "rating": 4.0,
       
   111             "authors": [8, 9],
       
   112             "contact": 8,
       
   113             "pages": 1132,
       
   114             "pubdate": "1995-1-15"
       
   115         }
       
   116     },
       
   117     {
       
   118         "pk": 6,
       
   119         "model": "aggregation_regress.book",
       
   120         "fields": {
       
   121             "publisher": 4,
       
   122             "isbn": "155860191",
       
   123             "name": "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp",
       
   124             "price": "75.00",
       
   125             "rating": 5.0,
       
   126             "authors": [8],
       
   127             "contact": 8,
       
   128             "pages": 946,
       
   129             "pubdate": "1991-10-15"
       
   130         }
       
   131     },
       
   132     {
       
   133         "pk": 1,
       
   134         "model": "aggregation_regress.store",
       
   135         "fields": {
       
   136             "books": [1, 2, 3, 4, 5, 6],
       
   137             "name": "Amazon.com",
       
   138             "original_opening": "1994-4-23 9:17:42",
       
   139             "friday_night_closing": "23:59:59"
       
   140         }
       
   141     },
       
   142     {
       
   143         "pk": 2,
       
   144         "model": "aggregation_regress.store",
       
   145         "fields": {
       
   146             "books": [1, 3, 5, 6],
       
   147             "name": "Books.com",
       
   148             "original_opening": "2001-3-15 11:23:37",
       
   149             "friday_night_closing": "23:59:59"
       
   150         }
       
   151     },
       
   152     {
       
   153         "pk": 3,
       
   154         "model": "aggregation_regress.store",
       
   155         "fields": {
       
   156             "books": [3, 4, 6],
       
   157             "name": "Mamma and Pappa's Books",
       
   158             "original_opening": "1945-4-25 16:24:14",
       
   159             "friday_night_closing": "21:30:00"
       
   160         }
       
   161     },
       
   162     {
       
   163         "pk": 1,
       
   164         "model": "aggregation_regress.author",
       
   165         "fields": {
       
   166             "age": 34,
       
   167             "friends": [2, 4],
       
   168             "name": "Adrian Holovaty"
       
   169         }
       
   170     },
       
   171     {
       
   172         "pk": 2,
       
   173         "model": "aggregation_regress.author",
       
   174         "fields": {
       
   175             "age": 35,
       
   176             "friends": [1, 7],
       
   177             "name": "Jacob Kaplan-Moss"
       
   178         }
       
   179     },
       
   180     {
       
   181         "pk": 3,
       
   182         "model": "aggregation_regress.author",
       
   183         "fields": {
       
   184             "age": 45,
       
   185             "friends": [],
       
   186             "name": "Brad Dayley"
       
   187         }
       
   188     },
       
   189     {
       
   190         "pk": 4,
       
   191         "model": "aggregation_regress.author",
       
   192         "fields": {
       
   193             "age": 29,
       
   194             "friends": [1],
       
   195             "name": "James Bennett"
       
   196         }
       
   197     },
       
   198     {
       
   199         "pk": 5,
       
   200         "model": "aggregation_regress.author",
       
   201         "fields": {
       
   202             "age": 37,
       
   203             "friends": [6, 7],
       
   204             "name": "Jeffrey Forcier"
       
   205         }
       
   206     },
       
   207     {
       
   208         "pk": 6,
       
   209         "model": "aggregation_regress.author",
       
   210         "fields": {
       
   211             "age": 29,
       
   212             "friends": [5, 7],
       
   213             "name": "Paul Bissex"
       
   214         }
       
   215     },
       
   216     {
       
   217         "pk": 7,
       
   218         "model": "aggregation_regress.author",
       
   219         "fields": {
       
   220             "age": 25,
       
   221             "friends": [2, 5, 6],
       
   222             "name": "Wesley J. Chun"
       
   223         }
       
   224     },
       
   225     {
       
   226         "pk": 8,
       
   227         "model": "aggregation_regress.author",
       
   228         "fields": {
       
   229             "age": 57,
       
   230             "friends": [9],
       
   231             "name": "Peter Norvig"
       
   232         }
       
   233     },
       
   234     {
       
   235         "pk": 9,
       
   236         "model": "aggregation_regress.author",
       
   237         "fields": {
       
   238             "age": 46,
       
   239             "friends": [8],
       
   240             "name": "Stuart Russell"
       
   241         }
       
   242     },
       
   243     {
       
   244         "pk": 5,
       
   245         "model": "aggregation_regress.hardbackbook",
       
   246         "fields": {
       
   247             "weight": 4.5
       
   248         }
       
   249     },
       
   250     {
       
   251         "pk": 6,
       
   252         "model": "aggregation_regress.hardbackbook",
       
   253         "fields": {
       
   254             "weight": 3.7
       
   255         }
       
   256     }
       
   257 ]