PageRenderTime 122ms CodeModel.GetById 100ms app.highlight 3ms RepoModel.GetById 18ms app.codeStats 0ms

/tests/regressiontests/views/fixtures/testdata.json

https://code.google.com/p/mango-py/
JSON | 75 lines | 75 code | 0 blank | 0 comment | 0 complexity | 9d8d33ed38e032d58974db7e15e22be1 MD5 | raw file
 1[
 2    {
 3        "pk": "1",
 4        "model": "auth.user",
 5        "fields": {
 6            "username": "testclient",
 7            "first_name": "Test",
 8            "last_name": "Client",
 9            "is_active": true,
10            "is_superuser": false,
11            "is_staff": false,
12            "last_login": "2006-12-17 07:03:31",
13            "groups": [],
14            "user_permissions": [],
15            "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161",
16            "email": "testclient@example.com",
17            "date_joined": "2006-12-17 07:03:31"
18        }
19    },
20    {
21        "pk": 1,
22        "model": "views.author",
23        "fields": {
24            "name": "Boris"
25        }
26    },
27    {
28        "pk": 1,
29        "model": "views.article",
30        "fields": {
31            "author": 1,
32            "title": "Old Article",
33            "slug": "old_article",
34            "date_created": "2001-01-01 21:22:23"
35        }
36    }, 
37    {
38        "pk": 2, 
39        "model": "views.article", 
40        "fields": {
41            "author": 1, 
42            "title": "Current Article",
43            "slug": "current_article",
44            "date_created": "2007-09-17 21:22:23"
45        }
46    }, 
47    {
48        "pk": 3, 
49        "model": "views.article", 
50        "fields": {
51            "author": 1, 
52            "title": "Future Article",
53            "slug": "future_article",
54            "date_created": "3000-01-01 21:22:23"
55        }
56    }, 
57	{
58        "pk": 1,
59        "model": "views.urlarticle",
60        "fields": {
61            "author": 1,
62            "title": "Old Article",
63            "slug": "old_article",
64            "date_created": "2001-01-01 21:22:23"
65        }
66    },
67    {
68        "pk": 1,
69        "model": "sites.site",
70        "fields": {
71            "domain": "testserver",
72            "name": "testserver"
73        }
74    }
75]