regluit/test/fixtures/basic_campaign_test.json

522 lines
11 KiB
JSON

[{
"pk": 1,
"model": "auth.user",
"fields": {
"username": "RaymondYee",
"first_name": "Raymond",
"last_name": "Yee",
"is_active": true,
"is_superuser": true,
"is_staff": true,
"last_login": "2012-10-12T22:58:33",
"groups": [],
"user_permissions": [],
"password": "pbkdf2_sha256$10000$zc7vkOO4vlqP$s1w18zWhceosicKg9mWDkrctFs0SPy4iPVHIrzoMJBg=",
"email": "raymond.yee@gmail.com",
"date_joined": "2012-10-12T22:58:33"
}
},
{
"pk": 2,
"model": "auth.user",
"fields": {
"username": "hmelville",
"first_name": "Hermann",
"last_name": "Melville",
"is_active": true,
"is_superuser": false,
"is_staff": false,
"last_login": "2012-10-14T10:06:11",
"groups": [],
"user_permissions": [],
"password": "pbkdf2_sha256$10000$GCt0LGDcpeDI$7XMz81+zL9XsmDRMTVHAbzLfKHOwp7SYCdOzOdTP0EA=",
"email": "rdhyee@yahoo.com",
"date_joined": "2012-10-14T09:57:15"
}
},
{
"pk": 3,
"model": "auth.user",
"fields": {
"username": "dataunbound",
"first_name": "Data",
"last_name": "Unbound",
"is_active": true,
"is_superuser": false,
"is_staff": false,
"last_login": "2012-10-14T10:03:43",
"groups": [],
"user_permissions": [],
"password": "pbkdf2_sha256$10000$sILqnpDfTw8Z$djqLomeFeVJIEEqAbp+YqXVOVKI0onS6OwJvpiTEe2g=",
"email": "raymond.yee@dataunbound.com",
"date_joined": "2012-10-14T10:03:43"
}
},
{
"pk": 1,
"model": "core.userprofile",
"fields": {
"goodreads_auth_secret": null,
"goodreads_user_name": null,
"created": "2012-10-12T22:58:33",
"tagline": "",
"twitter_id": "",
"goodreads_user_id": null,
"goodreads_auth_token": null,
"goodreads_user_link": null,
"user": 1,
"facebook_id": null,
"librarything_id": "",
"home_url": "",
"pic_url": "",
"badges": []
}
},
{
"pk": 2,
"model": "core.userprofile",
"fields": {
"goodreads_auth_secret": null,
"goodreads_user_name": null,
"created": "2012-10-14T09:57:15",
"tagline": "",
"twitter_id": "",
"goodreads_user_id": null,
"goodreads_auth_token": null,
"goodreads_user_link": null,
"user": 2,
"facebook_id": null,
"librarything_id": "",
"home_url": "",
"pic_url": "",
"badges": []
}
},
{
"pk": 3,
"model": "core.userprofile",
"fields": {
"goodreads_auth_secret": null,
"goodreads_user_name": null,
"created": "2012-10-14T10:03:43",
"tagline": "",
"twitter_id": "",
"goodreads_user_id": null,
"goodreads_auth_token": null,
"goodreads_user_link": null,
"user": 3,
"facebook_id": null,
"librarything_id": "",
"home_url": "",
"pic_url": "",
"badges": []
}
},
{
"pk": 1,
"model": "payment.credit",
"fields": {
"last_activity": "2012-10-14T09:51:07",
"pledged": "0.00",
"balance": "0.00",
"user": 1
}
},
{
"pk": 2,
"model": "payment.credit",
"fields": {
"last_activity": "2012-10-14T09:57:15",
"pledged": "0.00",
"balance": "0.00",
"user": 2
}
},
{
"pk": 3,
"model": "payment.credit",
"fields": {
"last_activity": "2012-10-14T10:03:43",
"pledged": "0.00",
"balance": "0.00",
"user": 3
}
},
{
"pk": 1,
"model": "core.wishlist",
"fields": {
"user": 1,
"created": "2012-10-12T23:17:16"
}
},
{
"pk": 2,
"model": "core.wishlist",
"fields": {
"user": 2,
"created": "2012-10-14T09:57:15"
}
},
{
"pk": 3,
"model": "core.wishlist",
"fields": {
"user": 3,
"created": "2012-10-14T10:03:43"
}
},
{
"pk": 1,
"model": "core.identifier",
"fields": {
"edition": 1,
"work": 1,
"type": "goog",
"value": "eGdLbRZ5AX0C"
}
},
{
"pk": 2,
"model": "core.identifier",
"fields": {
"edition": 1,
"work": 1,
"type": "isbn",
"value": "9781590598580"
}
},
{
"pk": 3,
"model": "core.identifier",
"fields": {
"edition": 2,
"work": 2,
"type": "goog",
"value": "d4VNAAAAYAAJ"
}
},
{
"pk": 4,
"model": "core.identifier",
"fields": {
"edition": 3,
"work": 3,
"type": "goog",
"value": "nWtuhNK4aJQC"
}
},
{
"pk": 5,
"model": "core.identifier",
"fields": {
"edition": 3,
"work": 3,
"type": "isbn",
"value": "9780486259925"
}
},
{
"pk": 3,
"model": "core.work",
"fields": {
"description": "",
"language": "en",
"title": "Mass in B Minor in Full Score",
"created": "2012-10-14T10:01:54",
"openlibrary_lookup": null,
"num_wishes": 1
}
},
{
"pk": 2,
"model": "core.work",
"fields": {
"description": "",
"language": "en",
"title": "Moby Dick",
"created": "2012-10-14T09:54:17",
"openlibrary_lookup": null,
"num_wishes": 1
}
},
{
"pk": 1,
"model": "core.work",
"fields": {
"description": "",
"language": "en",
"title": "Pro Web 2.0 Mashups",
"created": "2012-10-12T23:27:53",
"openlibrary_lookup": null,
"num_wishes": 1
}
},
{
"pk": 1,
"model": "core.author",
"fields": {
"editions": [
1
],
"name": "Raymond Yee",
"created": "2012-10-12T23:27:53"
}
},
{
"pk": 2,
"model": "core.author",
"fields": {
"editions": [
2
],
"name": "Herman Melville",
"created": "2012-10-14T09:54:17"
}
},
{
"pk": 3,
"model": "core.author",
"fields": {
"editions": [
3
],
"name": "Johann Sebastian Bach",
"created": "2012-10-14T10:01:54"
}
},
{
"pk": 1,
"model": "core.edition",
"fields": {
"publisher": "Apress",
"title": "Pro Web 2.0 Mashups",
"work": 1,
"created": "2012-10-12T23:27:53",
"public_domain": null,
"cover_image": null,
"publication_date": "2008-03-07",
"unglued": false
}
},
{
"pk": 2,
"model": "core.edition",
"fields": {
"publisher": "Scribner",
"title": "Moby Dick",
"work": 2,
"created": "2012-10-14T09:54:17",
"public_domain": null,
"cover_image": null,
"publication_date": "1902",
"unglued": false
}
},
{
"pk": 3,
"model": "core.edition",
"fields": {
"publisher": "Courier Dover Publications",
"title": "Mass in B Minor in Full Score",
"work": 3,
"created": "2012-10-14T10:01:54",
"public_domain": null,
"cover_image": null,
"publication_date": "1989-06-01",
"unglued": false
}
},
{
"pk": 1,
"model": "core.ebook",
"fields": {
"rights": null,
"url": "http://books.google.com/books/download/Moby_Dick.epub?id=d4VNAAAAYAAJ&hl=&output=epub&source=gbs_api",
"format": "epub",
"created": "2012-10-14T09:54:17",
"edition": 2,
"user": null,
"provider": "Google Books"
}
},
{
"pk": 2,
"model": "core.ebook",
"fields": {
"rights": null,
"url": "http://books.google.com/books/download/Moby_Dick.pdf?id=d4VNAAAAYAAJ&hl=&output=pdf&sig=ACfU3U0oQ2JJmHz_veHQ5VITrYSGftNMyg&source=gbs_api",
"format": "pdf",
"created": "2012-10-14T09:54:17",
"edition": 2,
"user": null,
"provider": "Google Books"
}
},
{
"pk": 1,
"model": "core.wishes",
"fields": {
"source": "user",
"work": 1,
"wishlist": 1,
"created": "2012-10-12T23:27:53"
}
},
{
"pk": 2,
"model": "core.wishes",
"fields": {
"source": "user",
"work": 2,
"wishlist": 1,
"created": "2012-10-14T09:54:45"
}
},
{
"pk": 3,
"model": "core.wishes",
"fields": {
"source": "user",
"work": 3,
"wishlist": 1,
"created": "2012-10-14T10:01:57"
}
},
{
"pk": 1,
"model": "core.claim",
"fields": {
"work": 1,
"status": "active",
"rights_holder": 1,
"user": 1,
"created": "2012-10-12T23:46:16"
}
},
{
"pk": 2,
"model": "core.claim",
"fields": {
"work": 2,
"status": "active",
"rights_holder": 2,
"user": 2,
"created": "2012-10-14T10:07:33"
}
},
{
"pk": 1,
"model": "core.rightsholder",
"fields": {
"owner": 1,
"email": "raymond.yee@gmail.com",
"rights_holder_name": "Raymond Yee",
"created": "2012-10-12T23:45:07"
}
},
{
"pk": 2,
"model": "core.rightsholder",
"fields": {
"owner": 2,
"email": "rdhyee@gluejar.com",
"rights_holder_name": "Herman Melville",
"created": "2012-10-14T10:07:18"
}
},
{
"pk": 150,
"model": "core.premium",
"fields": {
"description": "No premium, thanks! I just want to help unglue.",
"campaign": null,
"created": "2011-11-17T22:03:37",
"amount": "0",
"limit": 0,
"type": "00"
}
},
{
"pk": 151,
"model": "core.premium",
"fields": {
"description": "Premium Level 1",
"campaign": 1,
"created": "2012-10-12T23:49:47",
"amount": "10",
"limit": 0,
"type": "CU"
}
},
{
"pk": 152,
"model": "core.premium",
"fields": {
"description": "Premium Level 2",
"campaign": 1,
"created": "2012-10-12T23:50:04",
"amount": "25",
"limit": 0,
"type": "CU"
}
},
{
"pk": 153,
"model": "core.premium",
"fields": {
"description": "Premium level 3",
"campaign": 1,
"created": "2012-10-12T23:50:26",
"amount": "2000",
"limit": 2,
"type": "CU"
}
},
{
"pk": 1,
"model": "core.campaign",
"fields": {
"status": "ACTIVE",
"managers": [
1
],
"description": "<p>\r\n\tTEST DESCRIPTION</p>\r\n",
"license": "CC BY-NC-SA",
"created": "2012-10-12T23:48:05",
"paypal_receiver": "raymond.yee@gmail.com",
"work": 1,
"activated": null,
"name": "Pro Web 2.0 Mashups",
"edition": null,
"amazon_receiver": "",
"deadline": "2013-04-10T23:59:00",
"details": "<p>\r\n\tTEST EDITION/RIGHTS DETAILS</p>\r\n",
"left": "5000.00",
"target": "5000.00"
}
},
{
"pk": 2,
"model": "core.campaign",
"fields": {
"status": "ACTIVE",
"managers": [
2
],
"description": "<p>\r\n\tUnfree the WHALE AGAIN!</p>\r\n",
"license": "CC0",
"created": "2012-10-14T10:08:35",
"paypal_receiver": "rdhyee@gluejar.com",
"work": 2,
"activated": null,
"name": "Moby Dick",
"edition": null,
"amazon_receiver": "",
"deadline": "2013-04-12T23:59:00",
"details": "<p>\r\n\tThe book is already in the public domain, but let&#39;s do this again.</p>\r\n",
"left": "15000.00",
"target": "15000.00"
}
}
]