From 566f32e77b438a5f883c3f8d3e05b83021dd5bef Mon Sep 17 00:00:00 2001 From: kyo Date: Sat, 8 Jun 2024 18:01:30 +0800 Subject: [PATCH] feat: add post_data.json fixture file --- post_data.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 post_data.json diff --git a/post_data.json b/post_data.json new file mode 100644 index 0000000..ca1662f --- /dev/null +++ b/post_data.json @@ -0,0 +1 @@ +[{"model": "post.post", "pk": 1, "fields": {"title": "Django Fixtures", "content": "Content of Django Fixtures"}}, {"model": "post.post", "pk": 2, "fields": {"title": "ORM Basics", "content": "Content of ORM Basics"}}, {"model": "post.post", "pk": 3, "fields": {"title": "Advanced Queries", "content": "Content of Advanced Queries"}}, {"model": "post.subtitle", "pk": 1, "fields": {"content": "An Overview", "post": 1}}, {"model": "post.subtitle", "pk": 2, "fields": {"content": "Introduction to ORM", "post": 2}}, {"model": "post.comment", "pk": 1, "fields": {"content": "Great article!", "post": 1}}, {"model": "post.comment", "pk": 2, "fields": {"content": "Very informative.", "post": 2}}, {"model": "post.comment", "pk": 3, "fields": {"content": "Helped a lot!", "post": 3}}, {"model": "post.comment", "pk": 4, "fields": {"content": "Need more examples.", "post": 3}}, {"model": "post.comment", "pk": 5, "fields": {"content": "Thanks for the tips!", "post": 3}}]