diff --git a/oscar_odin/management/commands/test_queries.py b/oscar_odin/management/commands/test_queries.py index 4b9c435..1abdb48 100644 --- a/oscar_odin/management/commands/test_queries.py +++ b/oscar_odin/management/commands/test_queries.py @@ -17,7 +17,6 @@ ProductAttributeValue as ProductAttributeValueResource, ) -from oscar_odin.mappings.defaults import DEFAULT_UPDATE_FIELDS from oscar_odin.mappings.constants import * from oscar_odin.utils import querycounter diff --git a/oscar_odin/mappings/defaults.py b/oscar_odin/mappings/defaults.py deleted file mode 100644 index 7fe95c8..0000000 --- a/oscar_odin/mappings/defaults.py +++ /dev/null @@ -1,9 +0,0 @@ -DEFAULT_UPDATE_FIELDS = [ - "product.title", - "product.slug", - "product.price", - "stockrecord.num_in_stock", - "stockrecord.num_allocated", - "category.name", - "display_order", -] diff --git a/tests/resources/test_catalogue.py b/tests/resources/test_catalogue.py index 82db561..1e0e3eb 100644 --- a/tests/resources/test_catalogue.py +++ b/tests/resources/test_catalogue.py @@ -16,8 +16,6 @@ ProductAttributeValue as ProductAttributeValueResource, ) -from oscar_odin.mappings.defaults import DEFAULT_UPDATE_FIELDS - Product = get_model("catalogue", "Product") ProductClass = get_model("catalogue", "ProductClass") ProductAttribute = get_model("catalogue", "ProductAttribute")