Permalink
Browse files

Updated fixtures to be compatible with Django 1.4

  • Loading branch information...
1 parent f56e81b commit 13e09e5130ba9aa05f795d7b3b9a5ffd963f04dd @codeinthehole codeinthehole committed Apr 13, 2012
Showing with 379 additions and 1 deletion.
  1. +379 −1 oscar/fixtures/sample-products.json
@@ -1 +1,379 @@
-[{"pk": 1, "model": "catalogue.productclass", "fields": {"options": [], "name": "DryGoods", "slug": "drygoods"}}, {"pk": 10, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Tetley's Cask 20oz Toughened Pint Glass (Pack of 24)", "date_updated": "2011-02-15 15:53:04", "upc": "074132", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:04", "slug": "tetleys-cask-20oz-toughened-pint-glass-pack-of-24"}}, {"pk": 4, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Carlsberg Bar Runner (Pack of 2)", "date_updated": "2011-02-15 15:53:03", "upc": "073729", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:03", "slug": "carlsberg-bar-runner-pack-of-2"}}, {"pk": 5, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Export Bar Runner (Pack of 2)", "date_updated": "2011-02-15 15:53:03", "upc": "073731", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:03", "slug": "export-bar-runner-pack-of-2"}}, {"pk": 6, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Tetley's Bar Runner (Pack of 2)", "date_updated": "2011-02-15 15:53:03", "upc": "073733", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:03", "slug": "tetleys-bar-runner-pack-of-2"}}, {"pk": 7, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Carlsberg Staff T-shirt (Pack of 5) ", "date_updated": "2011-02-15 15:53:03", "upc": "073850", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:03", "slug": "carlsberg-staff-t-shirt-pack-of-5"}}, {"pk": 8, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Carlsberg Waiter Tray (Pack of 5)", "date_updated": "2011-02-15 15:53:03", "upc": "073922", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:03", "slug": "carlsberg-waiter-tray-pack-of-5"}}, {"pk": 9, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Tetley's 20oz Toughened Pint Glass (Pack of 24)", "date_updated": "2011-02-15 15:53:03", "upc": "074127", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:03", "slug": "tetleys-20oz-toughened-pint-glass-pack-of-24"}}, {"pk": 1, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Carlsberg Golf Umbrella (Pack of 1)", "date_updated": "2011-02-15 15:53:02", "upc": "071216", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:02", "slug": "carlsberg-golf-umbrella-pack-of-1"}}, {"pk": 2, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Carlsberg Bunting - 5m (Pack of 2)", "date_updated": "2011-02-15 15:53:02", "upc": "072174", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:02", "slug": "carlsberg-bunting-5m-pack-of-2"}}, {"pk": 3, "model": "catalogue.product", "fields": {"description": null, "parent": null, "title": "Tetley's 22oz Toughened Pint Glass (Pack of 24)", "date_updated": "2011-02-15 15:53:02", "upc": "072261", "product_options": [], "product_class": 1, "date_created": "2011-02-15 15:53:02", "slug": "tetleys-22oz-toughened-pint-glass-pack-of-24"}}, {"pk": 1, "model": "partner.partner", "fields": {"name": "Prolog"}}, {"pk": 1, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 1, "num_allocated": 0, "partner_sku": "071216", "num_in_stock": 0, "partner": 1, "price_excl_tax": "14.00"}}, {"pk": 2, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 2, "num_allocated": 0, "partner_sku": "072174", "num_in_stock": 127, "partner": 1, "price_excl_tax": "7.32"}}, {"pk": 3, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 3, "num_allocated": 0, "partner_sku": "072261", "num_in_stock": 662, "partner": 1, "price_excl_tax": "13.82"}}, {"pk": 4, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 4, "num_allocated": 0, "partner_sku": "073729", "num_in_stock": 54, "partner": 1, "price_excl_tax": "8.00"}}, {"pk": 5, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 5, "num_allocated": 0, "partner_sku": "073731", "num_in_stock": 391, "partner": 1, "price_excl_tax": "8.00"}}, {"pk": 6, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 6, "num_allocated": 0, "partner_sku": "073733", "num_in_stock": 221, "partner": 1, "price_excl_tax": "8.00"}}, {"pk": 7, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 7, "num_allocated": 5, "partner_sku": "073850", "num_in_stock": 90, "partner": 1, "price_excl_tax": "13.90"}}, {"pk": 8, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 8, "num_allocated": 0, "partner_sku": "073922", "num_in_stock": 153, "partner": 1, "price_excl_tax": "6.99"}}, {"pk": 9, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 9, "num_allocated": 0, "partner_sku": "074127", "num_in_stock": 654, "partner": 1, "price_excl_tax": "13.76"}}, {"pk": 10, "model": "partner.stockrecord", "fields": {"price_currency": "GBP", "product": 10, "num_allocated": 5, "partner_sku": "074132", "num_in_stock": 38, "partner": 1, "price_excl_tax": "16.06"}}]
+[
+ {
+ "pk": 1,
+ "model": "catalogue.productclass",
+ "fields": {
+ "options": [],
+ "name": "DryGoods",
+ "slug": "drygoods"
+ }
+ },
+ {
+ "pk": 10,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Tetley's Cask 20oz Toughened Pint Glass (Pack of 24)",
+ "date_updated": "2011-02-15 15:53:04",
+ "upc": "074132",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:04",
+ "product_options": [],
+ "slug": "tetleys-cask-20oz-toughened-pint-glass-pack-of-24",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 4,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Carlsberg Bar Runner (Pack of 2)",
+ "date_updated": "2011-02-15 15:53:03",
+ "upc": "073729",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:03",
+ "product_options": [],
+ "slug": "carlsberg-bar-runner-pack-of-2",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 5,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Export Bar Runner (Pack of 2)",
+ "date_updated": "2011-02-15 15:53:03",
+ "upc": "073731",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:03",
+ "product_options": [],
+ "slug": "export-bar-runner-pack-of-2",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 6,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Tetley's Bar Runner (Pack of 2)",
+ "date_updated": "2011-02-15 15:53:03",
+ "upc": "073733",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:03",
+ "product_options": [],
+ "slug": "tetleys-bar-runner-pack-of-2",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 7,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Carlsberg Staff T-shirt (Pack of 5) ",
+ "date_updated": "2011-02-15 15:53:03",
+ "upc": "073850",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:03",
+ "product_options": [],
+ "slug": "carlsberg-staff-t-shirt-pack-of-5",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 8,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Carlsberg Waiter Tray (Pack of 5)",
+ "date_updated": "2011-02-15 15:53:03",
+ "upc": "073922",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:03",
+ "product_options": [],
+ "slug": "carlsberg-waiter-tray-pack-of-5",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 9,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Tetley's 20oz Toughened Pint Glass (Pack of 24)",
+ "date_updated": "2011-02-15 15:53:03",
+ "upc": "074127",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:03",
+ "product_options": [],
+ "slug": "tetleys-20oz-toughened-pint-glass-pack-of-24",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 1,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Carlsberg Golf Umbrella (Pack of 1)",
+ "date_updated": "2011-02-15 15:53:02",
+ "upc": "071216",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:02",
+ "product_options": [],
+ "slug": "carlsberg-golf-umbrella-pack-of-1",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 2,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Carlsberg Bunting - 5m (Pack of 2)",
+ "date_updated": "2011-02-15 15:53:02",
+ "upc": "072174",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:02",
+ "product_options": [],
+ "slug": "carlsberg-bunting-5m-pack-of-2",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 3,
+ "model": "catalogue.product",
+ "fields": {
+ "status": null,
+ "related_products": [],
+ "description": null,
+ "parent": null,
+ "title": "Tetley's 22oz Toughened Pint Glass (Pack of 24)",
+ "date_updated": "2011-02-15 15:53:02",
+ "upc": "072261",
+ "score": 0.0,
+ "date_created": "2011-02-15 15:53:02",
+ "product_options": [],
+ "slug": "tetleys-22oz-toughened-pint-glass-pack-of-24",
+ "product_class": 1
+ }
+ },
+ {
+ "pk": 1,
+ "model": "partner.partner",
+ "fields": {
+ "name": "Prolog",
+ "users": []
+ }
+ },
+ {
+ "pk": 1,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 1,
+ "partner_sku": "071216",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 0,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "14",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 2,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 2,
+ "partner_sku": "072174",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 127,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "7.32",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 3,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 3,
+ "partner_sku": "072261",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 662,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "13.82",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 4,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 4,
+ "partner_sku": "073729",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 54,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "8",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 5,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 5,
+ "partner_sku": "073731",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 391,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "8",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 6,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 6,
+ "partner_sku": "073733",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 221,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "8",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 7,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 7,
+ "partner_sku": "073850",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 90,
+ "num_allocated": 5,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "13.9",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 8,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 8,
+ "partner_sku": "073922",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 153,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "6.99",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 9,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 9,
+ "partner_sku": "074127",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 654,
+ "num_allocated": 0,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "13.76",
+ "cost_price": null
+ }
+ },
+ {
+ "pk": 10,
+ "model": "partner.stockrecord",
+ "fields": {
+ "price_currency": "GBP",
+ "product": 10,
+ "partner_sku": "074132",
+ "price_retail": null,
+ "date_updated": "2012-04-13 17:58:31",
+ "num_in_stock": 38,
+ "num_allocated": 5,
+ "low_stock_threshold": null,
+ "date_created": "2012-04-13 17:58:31",
+ "partner": 1,
+ "price_excl_tax": "16.06",
+ "cost_price": null
+ }
+ }
+]

0 comments on commit 13e09e5

Please sign in to comment.