Skip to content

Commit e673822

Browse files
committed
feat: add events fixture
1 parent f5c7291 commit e673822

File tree

1 file changed

+143
-0
lines changed

1 file changed

+143
-0
lines changed

fixtures/events.json

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
[
2+
{
3+
"model": "events.calendar",
4+
"pk": 1,
5+
"fields": {
6+
"created": "2024-10-08T18:43:33.081Z",
7+
"updated": "2024-10-08T18:43:33.123Z",
8+
"creator": 1,
9+
"last_modified_by": null,
10+
"url": null,
11+
"rss": "http://python.org/downloads/feed.rss",
12+
"embed": null,
13+
"twitter": "https://x.com/ThePSF",
14+
"name": "python-events",
15+
"slug": "python-events",
16+
"description": "Example"
17+
}
18+
},
19+
{
20+
"model": "events.eventcategory",
21+
"pk": 1,
22+
"fields": {
23+
"name": "test category",
24+
"slug": "test-category",
25+
"calendar": 1
26+
}
27+
},
28+
{
29+
"model": "events.eventlocation",
30+
"pk": 1,
31+
"fields": {
32+
"calendar": 1,
33+
"name": "Location",
34+
"address": "123 Python Way",
35+
"url": null
36+
}
37+
},
38+
{
39+
"model": "events.event",
40+
"pk": 1,
41+
"fields": {
42+
"created": "2024-10-08T18:45:00.226Z",
43+
"updated": "2024-10-08T18:45:00.243Z",
44+
"creator": 1,
45+
"last_modified_by": null,
46+
"uid": null,
47+
"title": "Example event",
48+
"calendar": 1,
49+
"description": "Example event",
50+
"description_markup_type": "restructuredtext",
51+
"venue": null,
52+
"_description_rendered": "<p>Example event</p>\n",
53+
"featured": true,
54+
"categories": [
55+
1
56+
]
57+
}
58+
},
59+
{
60+
"model": "events.event",
61+
"pk": 2,
62+
"fields": {
63+
"created": "2024-10-08T18:45:16.377Z",
64+
"updated": "2024-10-08T18:45:16.387Z",
65+
"creator": 1,
66+
"last_modified_by": null,
67+
"uid": null,
68+
"title": "Example event 2",
69+
"calendar": 1,
70+
"description": "event",
71+
"description_markup_type": "restructuredtext",
72+
"venue": null,
73+
"_description_rendered": "<p>event</p>\n",
74+
"featured": false,
75+
"categories": [
76+
1
77+
]
78+
}
79+
},
80+
{
81+
"model": "events.event",
82+
"pk": 3,
83+
"fields": {
84+
"created": "2024-10-08T18:47:21.240Z",
85+
"updated": "2024-10-08T18:47:21.249Z",
86+
"creator": 1,
87+
"last_modified_by": null,
88+
"uid": null,
89+
"title": "Example event 3",
90+
"calendar": 1,
91+
"description": "event",
92+
"description_markup_type": "restructuredtext",
93+
"venue": null,
94+
"_description_rendered": "<p>event</p>\n",
95+
"featured": false,
96+
"categories": []
97+
}
98+
},
99+
{
100+
"model": "events.occurringrule",
101+
"pk": 1,
102+
"fields": {
103+
"event": 1,
104+
"dt_start": "2024-10-07T18:42:45Z",
105+
"dt_end": "2030-10-08T18:42:45Z",
106+
"all_day": true
107+
}
108+
},
109+
{
110+
"model": "events.occurringrule",
111+
"pk": 2,
112+
"fields": {
113+
"event": 2,
114+
"dt_start": "2020-10-08T18:45:00Z",
115+
"dt_end": "2023-10-08T18:45:00Z",
116+
"all_day": false
117+
}
118+
},
119+
{
120+
"model": "events.occurringrule",
121+
"pk": 3,
122+
"fields": {
123+
"event": 3,
124+
"dt_start": "2025-10-08T18:45:16Z",
125+
"dt_end": "2025-10-31T18:45:16Z",
126+
"all_day": false
127+
}
128+
},
129+
{
130+
"model": "events.recurringrule",
131+
"pk": 1,
132+
"fields": {
133+
"event": 3,
134+
"begin": "2024-10-08T18:45:16Z",
135+
"finish": "2024-10-09T18:45:16Z",
136+
"duration_internal": "00:15:00",
137+
"duration": "15 min",
138+
"interval": 1,
139+
"frequency": 3,
140+
"all_day": false
141+
}
142+
}
143+
]

0 commit comments

Comments
 (0)