parent
8cc5355200
commit
1cd0458acc
|
|
@ -18,7 +18,7 @@ def update_document(sender, **kwargs):
|
|||
# todo: remove after migration
|
||||
('establishment', 'establishmenttype'): 'establishment_type',
|
||||
('establishment', 'establishmentsubtype'): 'establishment_subtypes',
|
||||
# ('tag', 'tag'): 'tags',
|
||||
('tag', 'tag'): 'tags',
|
||||
}
|
||||
filter_name = app_label_model_name_to_filter.get((app_label, model_name))
|
||||
if filter_name:
|
||||
|
|
@ -37,7 +37,7 @@ def update_news(sender, **kwargs):
|
|||
app_label_model_name_to_filter = {
|
||||
('location', 'country'): 'country',
|
||||
# ('news', 'newstype'): 'news_type',
|
||||
# ('tag', 'tag'): 'tags',
|
||||
('tag', 'tag'): 'tags',
|
||||
}
|
||||
filter_name = app_label_model_name_to_filter.get((app_label, model_name))
|
||||
if filter_name:
|
||||
|
|
@ -56,7 +56,7 @@ def update_product(sender, **kwargs):
|
|||
app_label_model_name_to_filter = {
|
||||
('product', 'productstandard'): 'standards',
|
||||
('product', 'producttype'): 'product_type',
|
||||
# ('tag', 'tag'): 'tags',
|
||||
('tag', 'tag'): 'tags',
|
||||
# ('location', 'wineregion'): 'wine_region',
|
||||
# ('location', 'winesubregion'): 'wine_sub_region',
|
||||
# ('location', 'winevillage'): 'wine_village',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user