|
44 | 44 | "modified": "2024-02-25T17:26:54.012Z", |
45 | 45 | "status": "open", |
46 | 46 | "draft": false, |
47 | | - |
48 | 47 | "title": "The Initial Act", |
49 | 48 | "additions": 0, |
50 | 49 | "deletions": 0, |
|
61 | 60 | "modified": "2024-02-25T17:26:54.012Z", |
62 | 61 | "status": "open", |
63 | 62 | "draft": false, |
64 | | - |
65 | 63 | "title": "The Test Act", |
66 | 64 | "additions": 1000, |
67 | 65 | "deletions": 1000, |
|
78 | 76 | "modified": "2024-02-25T17:26:54.012Z", |
79 | 77 | "status": "open", |
80 | 78 | "draft": false, |
81 | | - |
82 | 79 | "title": "The Finished Act", |
83 | 80 | "additions": 69, |
84 | 81 | "deletions": 420, |
|
87 | 84 | "sha": "12345" |
88 | 85 | } |
89 | 86 | }, |
| 87 | + { |
| 88 | + "model": "webiscite.pullrequest", |
| 89 | + "pk": -4, |
| 90 | + "fields": { |
| 91 | + "created": "2026-02-16T12:00:00.000Z", |
| 92 | + "modified": "2026-02-16T12:00:00.000Z", |
| 93 | + "status": "open", |
| 94 | + "draft": true, |
| 95 | + "title": "The Draft Act", |
| 96 | + "additions": 42, |
| 97 | + "deletions": 7, |
| 98 | + "diff_url": "https://github.com/mfosterw/cookiestocracy/pull/64.diff", |
| 99 | + "author_name": "matthew", |
| 100 | + "sha": "abc123" |
| 101 | + } |
| 102 | + }, |
90 | 103 | { |
91 | 104 | "model": "webiscite.historicalpullrequest", |
92 | 105 | "pk": 1, |
|
150 | 163 | "history_user": null |
151 | 164 | } |
152 | 165 | }, |
| 166 | + { |
| 167 | + "model": "webiscite.historicalpullrequest", |
| 168 | + "pk": 4, |
| 169 | + "fields": { |
| 170 | + "created": "2026-02-16T12:00:00.000Z", |
| 171 | + "modified": "2026-02-16T12:00:00.000Z", |
| 172 | + "number": -4, |
| 173 | + "title": "The Draft Act", |
| 174 | + "additions": 42, |
| 175 | + "deletions": 7, |
| 176 | + "diff_url": "https://github.com/mfosterw/cookiestocracy/pull/64.diff", |
| 177 | + "author_name": "matthew", |
| 178 | + "status": "open", |
| 179 | + "draft": true, |
| 180 | + "sha": "abc123", |
| 181 | + "history_date": "2026-02-16T12:00:00.000Z", |
| 182 | + "history_change_reason": "", |
| 183 | + "history_type": "+", |
| 184 | + "history_user": null |
| 185 | + } |
| 186 | + }, |
153 | 187 | { |
154 | 188 | "model": "webiscite.bill", |
155 | 189 | "pk": 1, |
|
169 | 203 | "model": "webiscite.bill", |
170 | 204 | "pk": 2, |
171 | 205 | "fields": { |
172 | | - "created": "2024-02-25T17:26:53.913Z", |
173 | | - "modified": "2024-02-25T17:26:53.950Z", |
| 206 | + "created": "2024-02-25T17:30:53.913Z", |
| 207 | + "modified": "2024-02-25T17:30:53.950Z", |
174 | 208 | "name": "The Failed Act", |
175 | 209 | "description": "This bill failed because not enough people voted on it.", |
176 | 210 | "author": 1, |
|
184 | 218 | "model": "webiscite.bill", |
185 | 219 | "pk": 3, |
186 | 220 | "fields": { |
187 | | - "created": "2024-02-25T17:26:53.913Z", |
188 | | - "modified": "2024-02-25T17:26:53.950Z", |
| 221 | + "created": "2024-02-25T17:40:53.913Z", |
| 222 | + "modified": "2024-02-25T17:40:53.950Z", |
189 | 223 | "name": "The Test Act", |
190 | 224 | "description": "This is a test. It is the 3rd bill, but the first two are marked as not open, so this should be the oldest bill displayed on the front page.", |
191 | 225 | "author": 1, |
|
199 | 233 | "model": "webiscite.bill", |
200 | 234 | "pk": 4, |
201 | 235 | "fields": { |
202 | | - "created": "2024-02-25T17:26:53.913Z", |
203 | | - "modified": "2024-02-25T17:26:53.950Z", |
| 236 | + "created": "2024-02-25T17:55:53.913Z", |
| 237 | + "modified": "2024-02-25T17:55:53.950Z", |
204 | 238 | "name": "The Rejected Act", |
205 | 239 | "description": "This bill was rejected by the community. Since it was a constitutional amendment, it required a supermajority to pass.", |
206 | 240 | "author": 1, |
|
214 | 248 | "model": "webiscite.bill", |
215 | 249 | "pk": 5, |
216 | 250 | "fields": { |
217 | | - "created": "2024-02-25T17:26:53.913Z", |
218 | | - "modified": "2024-02-25T17:26:53.950Z", |
| 251 | + "created": "2024-02-25T18:26:53.913Z", |
| 252 | + "modified": "2024-02-25T18:26:53.950Z", |
219 | 253 | "name": "The Constitutional Act", |
220 | 254 | "description": "This is a constitutional amendment. That should be noted in a subheader beneath the title.", |
221 | 255 | "author": 1, |
|
229 | 263 | "model": "webiscite.bill", |
230 | 264 | "pk": 6, |
231 | 265 | "fields": { |
232 | | - "created": "2024-02-25T17:26:53.913Z", |
233 | | - "modified": "2024-02-25T17:26:53.950Z", |
| 266 | + "created": "2024-02-25T18:36:53.913Z", |
| 267 | + "modified": "2024-02-25T18:36:53.950Z", |
234 | 268 | "name": "The Finished Act", |
235 | 269 | "description": "This bill was approved and is now part of the live website.", |
236 | 270 | "author": 1, |
|
240 | 274 | "_submit_task": 6 |
241 | 275 | } |
242 | 276 | }, |
| 277 | + { |
| 278 | + "model": "webiscite.bill", |
| 279 | + "pk": 7, |
| 280 | + "fields": { |
| 281 | + "created": "2026-02-16T12:00:00.000Z", |
| 282 | + "modified": "2026-02-16T12:00:00.000Z", |
| 283 | + "name": "The Draft Act", |
| 284 | + "description": "This bill is a draft. It was created from a draft pull request and cannot be voted on until the PR is marked ready for review.", |
| 285 | + "author": 1, |
| 286 | + "pull_request": -4, |
| 287 | + "status": "draft", |
| 288 | + "constitutional": false, |
| 289 | + "_submit_task": 7 |
| 290 | + } |
| 291 | + }, |
243 | 292 | { |
244 | 293 | "model": "webiscite.historicalbill", |
245 | 294 | "pk": 1, |
|
360 | 409 | "history_user": null |
361 | 410 | } |
362 | 411 | }, |
| 412 | + { |
| 413 | + "model": "webiscite.historicalbill", |
| 414 | + "pk": 7, |
| 415 | + "fields": { |
| 416 | + "id": 7, |
| 417 | + "created": "2026-02-16T12:00:00.000Z", |
| 418 | + "modified": "2026-02-16T12:00:00.000Z", |
| 419 | + "name": "The Draft Act", |
| 420 | + "description": "This bill is a draft. It was created from a draft pull request and cannot be voted on until the PR is marked ready for review.", |
| 421 | + "status": "draft", |
| 422 | + "constitutional": false, |
| 423 | + "author": 1, |
| 424 | + "pull_request": -4, |
| 425 | + "_submit_task": 7, |
| 426 | + "history_date": "2026-02-16T12:00:00.000Z", |
| 427 | + "history_change_reason": "", |
| 428 | + "history_type": "+", |
| 429 | + "history_user": null |
| 430 | + } |
| 431 | + }, |
363 | 432 | { |
364 | 433 | "model": "django_celery_beat.intervalschedule", |
365 | 434 | "pk": 1, |
|
437 | 506 | "date_changed": "2024-02-20T12:00:22.856Z" |
438 | 507 | } |
439 | 508 | }, |
440 | | - { |
441 | | - "model": "webiscite.pullrequest", |
442 | | - "pk": -4, |
443 | | - "fields": { |
444 | | - "created": "2026-02-16T12:00:00.000Z", |
445 | | - "modified": "2026-02-16T12:00:00.000Z", |
446 | | - "status": "open", |
447 | | - "draft": true, |
448 | | - |
449 | | - "title": "The Draft Act", |
450 | | - "additions": 42, |
451 | | - "deletions": 7, |
452 | | - "diff_url": "https://github.com/mfosterw/cookiestocracy/pull/64.diff", |
453 | | - "author_name": "matthew", |
454 | | - "sha": "abc123" |
455 | | - } |
456 | | - }, |
457 | | - { |
458 | | - "model": "webiscite.historicalpullrequest", |
459 | | - "pk": 4, |
460 | | - "fields": { |
461 | | - "created": "2026-02-16T12:00:00.000Z", |
462 | | - "modified": "2026-02-16T12:00:00.000Z", |
463 | | - "number": -4, |
464 | | - "title": "The Draft Act", |
465 | | - "additions": 42, |
466 | | - "deletions": 7, |
467 | | - "diff_url": "https://github.com/mfosterw/cookiestocracy/pull/64.diff", |
468 | | - "author_name": "matthew", |
469 | | - "status": "open", |
470 | | - "draft": true, |
471 | | - "sha": "abc123", |
472 | | - "history_date": "2026-02-16T12:00:00.000Z", |
473 | | - "history_change_reason": "", |
474 | | - "history_type": "+", |
475 | | - "history_user": null |
476 | | - } |
477 | | - }, |
478 | | - { |
479 | | - "model": "webiscite.bill", |
480 | | - "pk": 7, |
481 | | - "fields": { |
482 | | - "created": "2026-02-16T12:00:00.000Z", |
483 | | - "modified": "2026-02-16T12:00:00.000Z", |
484 | | - "name": "The Draft Act", |
485 | | - "description": "This bill is a draft. It was created from a draft pull request and cannot be voted on until the PR is marked ready for review.", |
486 | | - "author": 1, |
487 | | - "pull_request": -4, |
488 | | - "status": "draft", |
489 | | - "constitutional": false, |
490 | | - "_submit_task": 7 |
491 | | - } |
492 | | - }, |
493 | | - { |
494 | | - "model": "webiscite.historicalbill", |
495 | | - "pk": 7, |
496 | | - "fields": { |
497 | | - "id": 7, |
498 | | - "created": "2026-02-16T12:00:00.000Z", |
499 | | - "modified": "2026-02-16T12:00:00.000Z", |
500 | | - "name": "The Draft Act", |
501 | | - "description": "This bill is a draft. It was created from a draft pull request and cannot be voted on until the PR is marked ready for review.", |
502 | | - "status": "draft", |
503 | | - "constitutional": false, |
504 | | - "author": 1, |
505 | | - "pull_request": -4, |
506 | | - "_submit_task": 7, |
507 | | - "history_date": "2026-02-16T12:00:00.000Z", |
508 | | - "history_change_reason": "", |
509 | | - "history_type": "+", |
510 | | - "history_user": null |
511 | | - } |
512 | | - }, |
513 | 509 | { |
514 | 510 | "model": "django_celery_beat.periodictask", |
515 | 511 | "pk": 7, |
|
0 commit comments