Tmp remove signal to location

This commit is contained in:
littlewolf 2019-12-16 20:35:53 +03:00
parent f861aa419c
commit 385b405937

View File

@ -55,9 +55,9 @@ def update_product(sender, **kwargs):
('product', 'productstandard'): 'standards',
('product', 'producttype'): 'product_type',
('tag', 'tag'): 'tags',
('location', 'wineregion'): 'wine_region',
('location', 'winesubregion'): 'wine_sub_region',
('location', 'winevillage'): 'wine_village',
# ('location', 'wineregion'): 'wine_region',
# ('location', 'winesubregion'): 'wine_sub_region',
# ('location', 'winevillage'): 'wine_village',
('establishment', 'establishment'): 'establishment',
}
filter_name = app_label_model_name_to_filter.get((app_label, model_name))