Skip to content

Instantly share code, notes, and snippets.

@lorin
Created July 30, 2012 14:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lorin/3207350 to your computer and use it in GitHub Desktop.
Save lorin/3207350 to your computer and use it in GitHub Desktop.
Example Mezzanine blog fixtures
[
{
"pk": 1,
"model": "blog.blogpost",
"fields": {
"status": 2,
"expiry_date": null,
"allow_comments": true,
"description": "This is an example of a blog post.",
"title": "example blog post",
"rating_average": 0.0,
"categories": [],
"site": 1,
"keywords_string": "",
"_meta_title": "",
"rating_count": 0,
"comments_count": 0,
"user": 1,
"featured_image": null,
"short_url": null,
"publish_date": "2012-07-30T14:22:18.823Z",
"content": "<p>This is an example of a blog post.</p>",
"slug": "example-blog-post",
"gen_description": true
}
},
{
"pk": 1,
"model": "admin.logentry",
"fields": {
"action_flag": 1,
"action_time": "2012-07-30T14:22:18.835Z",
"object_repr": "example blog post",
"object_id": "1",
"change_message": "",
"user": 1,
"content_type": 13
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment