Commits

Hynek Cernoch  committed 0d7a89c

Fixed syncdb --migrate by moving model initial_data. Closes #1299

  • Participants
  • Parent commits e412dd4

Comments (0)

Files changed (2)

File satchmo/apps/product/fixtures/initial_data.yaml

 - fields: {description: Shipping, title: Shipping}
   model: product.taxclass
   pk: 2
-
+- fields:
+      sort: !!python/long '1'
+      picture: 'images/productimage-picture-default.jpg'
+      caption: 'Photo Not Available'
+  model: product.productimage
+  pk: '1'
+- fields: {caption: '', picture: images/productimage-picture-default.jpg,
+    sort: 0}
+  model: product.categoryimage
+  pk: '1'

File satchmo/apps/satchmo_store/shop/fixtures/initial_data.yaml

-- fields:
-      sort: !!python/long '1'
-      picture: 'images/productimage-picture-default.jpg'
-      caption: 'Photo Not Available'
-  model: product.productimage
-  pk: '1'
-- fields: {caption: '', picture: images/productimage-picture-default.jpg,
-    sort: 0}
-  model: product.categoryimage
-  pk: '1'