src/cm/fixtures/test_comments.json
changeset 0 40c8f766c9b8
child 278 3d25afbd78ff
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 [
       
     2   {
       
     3     "fields": {
       
     4       "adminkey": "keyAdmin", 
       
     5       "created": "2009-02-13 03:27:05", 
       
     6       "key": "keyText", 
       
     7       "modified": "2009-02-13 03:27:05",
       
     8       "last_text_version": 1,
       
     9       "state":"approved",
       
    10       "title": "1top level title"      
       
    11     }, 
       
    12     "model": "cm.text", 
       
    13     "pk": 1
       
    14   }, 
       
    15   {
       
    16     "fields": {
       
    17       "name": "author", 
       
    18       "content": "simple text <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p> <p>simple text</p>", 
       
    19       "created": "2009-02-13 03:27:05", 
       
    20       "format": "html", 
       
    21       "modified": "2009-02-13 03:27:05", 
       
    22       "note": "ma note", 
       
    23       "text": 1, 
       
    24       "title": "1top level title"
       
    25     }, 
       
    26     "model": "cm.textversion", 
       
    27     "pk": 1
       
    28   }, 
       
    29   {
       
    30     "fields": {
       
    31       "name": "author", 
       
    32       "content": "comment content 1", 
       
    33       "created": "2009-02-13 04:00:24", 
       
    34       "end_wrapper": 15, 
       
    35       "modified": "2009-02-13 04:00:24", 
       
    36       "reply_to": null, 
       
    37       "start_wrapper": 5, 
       
    38       "text_version": 1,"start_offset":2,"end_offset":6, 
       
    39       "title": "3top level title",
       
    40       "adminkey": "keyAdminc3", 
       
    41       "key": "keyc3", 
       
    42       "state": "approved"
       
    43     }, 
       
    44     "model": "cm.comment", 
       
    45     "pk": 3
       
    46   }, 
       
    47   {
       
    48     "fields": {
       
    49       "name": "author", 
       
    50       "content": "comment content 2", 
       
    51       "created": "2009-02-13 04:00:29", 
       
    52       "end_wrapper": 13, 
       
    53       "modified": "2009-02-13 04:00:29", 
       
    54       "reply_to": null, 
       
    55       "start_wrapper": 1, 
       
    56       "text_version": 1,"start_offset":0,"end_offset":0, 
       
    57       "title": "4top level title",
       
    58       "adminkey": "keyAdminc4", 
       
    59       "key": "keyc4", 
       
    60       "state": "approved"
       
    61     }, 
       
    62     "model": "cm.comment", 
       
    63     "pk": 4
       
    64   }, 
       
    65   {
       
    66     "fields": {
       
    67       "name": "author", 
       
    68       "content": "comment content 3", 
       
    69       "created": "2009-02-13 04:01:12", 
       
    70       "end_wrapper": null, 
       
    71       "modified": "2009-02-13 04:01:12", 
       
    72       "reply_to": 4, 
       
    73       "start_wrapper": null, 
       
    74       "text_version": 1,"start_offset":null,"end_offset":null, 
       
    75       "title": "6(4) child level title",
       
    76       "adminkey": "keyAdminc6", 
       
    77       "key": "keyc6", 
       
    78       "state": "approved"
       
    79       
       
    80     }, 
       
    81     "model": "cm.comment", 
       
    82     "pk": 6
       
    83   }, 
       
    84   {
       
    85     "fields": {
       
    86       "name": "author2", 
       
    87       "content": "comment content 4", 
       
    88       "created": "2009-02-13 04:01:12", 
       
    89       "end_wrapper": null, 
       
    90       "modified": "2009-02-13 04:01:12", 
       
    91       "reply_to": 4, 
       
    92       "start_wrapper": null, 
       
    93       "text_version": 1,"start_offset":null,"end_offset":null, 
       
    94       "title": "7(4) child level title",
       
    95       "adminkey": "keyAdminc7", 
       
    96       "key": "keyc7", 
       
    97       "state": "approved"      
       
    98     }, 
       
    99     "model": "cm.comment", 
       
   100     "pk": 7
       
   101   }, 
       
   102   {
       
   103     "fields": {
       
   104       "name": "author2", 
       
   105       "content": "comment content 5", 
       
   106       "created": "2009-02-13 04:01:12", 
       
   107       "end_wrapper": null, 
       
   108       "modified": "2009-02-13 04:01:12", 
       
   109       "reply_to": 7, 
       
   110       "start_wrapper": null, 
       
   111       "text_version": 1,"start_offset":null,"end_offset":null, 
       
   112       "title": "8(7) child child level title",
       
   113       "adminkey": "keyAdminc8", 
       
   114       "key": "keyc8", 
       
   115       "state": "approved"      
       
   116     }, 
       
   117     "model": "cm.comment", 
       
   118     "pk": 8
       
   119   }, 
       
   120   {
       
   121     "fields": {
       
   122       "name": "author2", 
       
   123       "content": "comment content 6", 
       
   124       "created": "2009-02-13 04:01:12", 
       
   125       "end_wrapper": null, 
       
   126       "modified": "2009-02-13 04:01:12", 
       
   127       "reply_to": 8, 
       
   128       "start_wrapper": null, 
       
   129       "text_version": 1,"start_offset":null,"end_offset":null, 
       
   130       "title": "9(8) child  child child level title",
       
   131       "adminkey": "keyAdminc9", 
       
   132       "key": "keyc9", 
       
   133       "state": "approved"      
       
   134     }, 
       
   135     "model": "cm.comment", 
       
   136     "pk": 9
       
   137   }, 
       
   138   {
       
   139     "fields": {
       
   140       "name": "author2", 
       
   141       "content": "comment content 7", 
       
   142       "created": "2009-02-13 04:01:12", 
       
   143       "end_wrapper": null, 
       
   144       "modified": "2009-02-13 04:01:12", 
       
   145       "reply_to": 3, 
       
   146       "start_wrapper": null, 
       
   147       "text_version": 1,"start_offset":null,"end_offset":null, 
       
   148       "title": "10(3) child level title",
       
   149       "adminkey": "keyAdminc10", 
       
   150       "key": "keyc10", 
       
   151       "state": "approved"      
       
   152     }, 
       
   153     "model": "cm.comment", 
       
   154     "pk": 10
       
   155   },
       
   156   {
       
   157     "fields": {
       
   158       "name": "author2", 
       
   159       "content": "comment content 7", 
       
   160       "created": "2009-02-13 04:01:12", 
       
   161       "end_wrapper": 1, 
       
   162       "modified": "2009-02-13 04:01:12", 
       
   163       "reply_to": null, 
       
   164       "start_wrapper": 1, 
       
   165       "text_version": 1,"start_offset":1,"end_offset":3, 
       
   166       "title": "10(3) child level title",
       
   167       "adminkey": "keyAdminc11", 
       
   168       "key": "keyc11", 
       
   169       "state": "approved"      
       
   170     }, 
       
   171     "model": "cm.comment", 
       
   172     "pk": 11
       
   173   }
       
   174 ]