many columns
LINE 1: ..._collection_id" = 1 WHERE "products_product"."id" IN ((SELEC...
проверил queryset:
print(common_products_query.values())
<QuerySet [{'id': 10, 'name': 'Инкубатор УТОС', 'is_active': True, 'created': datetime.datetime(2020, 3, 4, 17, 23, 28, 517428, tzinfo=<UTC>), 'updated': datetime.datetime(2020, 3, 4, 17, 53, 33, 652367, tzinfo=<UTC>), 'slug': 'inkubator-utos', 'art': None, 'made_in_id': None, 'brand_id': None, 'description': '', 'rating': 1, 'admin_category_id': 3, 'category_collection_id': None, 'parameters': {'1-1': '0', '2-2': ''}, 'parameters_structure': {'2': {'cat_position': 1, 'groups_attributes': {'1': {'attributes': {'1': {'atr_position': 0}}, 'group_position': 0}}}, '3': {'cat_position': 0, 'groups_attributes': {'2': {'attributes': {'2': {'atr_position': 0}}, 'group_position': 0}}}}, 'sorted_parameters_structure': [[0, 3, [[0, 2, [[0, 2]]]]], [0, 2, [[0, 1, [[0, 1]]]]]], 'custom_order_group': [], 'shot_parameters_structure': {}, 'mini_parameters_structure': {}, 'shot_parameters_custom_structure': {}, 'mini_parameters_custom_structure': {}, 'lenght': None, 'width': None, 'height': None, 'lenght_box': None, 'width_box': None, 'height_box': None, 'weight': None, 'warranty': 1}]>
Инкубаторы / Ручные инкубаторы
str(common_products_query.query) как выглядит?
Обсуждают сегодня