From e0d351410c20a03b8dbe86284bfb096658db485a Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Fri, 2 Aug 2019 15:37:45 -0700 Subject: [PATCH] products/models.py: remove big sql comment --- products/models.py | 48 ---------------------------------------------- 1 file changed, 48 deletions(-) diff --git a/products/models.py b/products/models.py index c129f8e..04e5fc6 100644 --- a/products/models.py +++ b/products/models.py @@ -38,51 +38,3 @@ class Product(models.Model): } -""" - create view adilog_product as - SELECT DISTINCT ks.style AS id, ks.sap_article_number, - (((kr.ranksection || '-'::text) || kr.rankcategory) || '-'::text) || kr.modelrank - AS grouping_number, - km.name AS short_name, kr.model, kr.color, - kr.category AS product_type, km.category AS model_product_type, - kr.men_women AS gender, kr.segmentation AS segment, ks.color_name AS colorway, - km.summary AS blurb, km.description, - km.tech_icon_1, km.tech_icon_2, km.tech_icon_3, km.tech_icon_4, - km.tech_icon_5, km.tech_icon_6, km.tech_icon_7, km.tech_icon_8, - km.tech_icon_9, km.tech_icon_10, km.tech_icon_11, km.tech_icon_12, - km.tech_icon_13, km.tech_icon_14, km.tech_icon_15, - km.sizing AS size, - km.tech_call_out_1 AS point0, km.tech_call_out_2 AS point1, - km.tech_call_out_3 AS point2, km.tech_call_out_4 AS point3, - km.tech_call_out_5 AS point4, km.tech_call_out_6 AS point5, - km.tech_call_out_7 AS point6, km.tech_call_out_8 AS point7, - km.tech_call_out_9 AS point8, km.tech_call_out_10 AS point9, - km.tech_call_out_11 AS point10, km.tech_call_out_12 AS point11, - km.tech_call_out_13 AS point12, km.tech_call_out_14 AS point13, - km.tech_call_out_15 AS point14, km.tech_call_out_16 AS point15, - km.tech_call_out_17 AS point16, km.tech_call_out_18 AS point17, - km.tech_call_out_19 AS point18, km.tech_call_out_20 AS point19, - kr.modelstatus, kr.stylestatus, kr.hero, kr.alt_hero, ks.hero AS stylehero, - kr.stylerank, km.relatedkidsmodel1, km.relatedkidsmodel2, - km.dimensions, km.height, km.weight, km.capacity, km.origin, km.fiber, - km.upper, km.lining, km.tooling, kr.in_current_season, km.imageistall, - km.retail, km.wholesale, kr.country, kr.pagination, km.legal, -- km.legal2, - km.duty_type, - km.heavy_metal_fabrication, - km.masonry, - km.energy, - km.construction, - km.utilities, - km.landscaping, - km.transportation, - km.maintenance, - km.manufacturing, - km.warehouse_distribution, - km.service, --- km.public_safety_duty, - km.extra_1, km.extra_2, km.extra_3, km.extra_4, km.extra_5, km.extra_6, - km.product_family - FROM keen_ranking kr - JOIN keen_style ks ON kr.style = ks.sap_article_number - JOIN keen_model km ON kr.model = km.model; -"""