2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 17:28:11 +00:00

Require contenttypes to be updated

This commit is contained in:
Oliver Walters
2025-11-25 11:13:27 +00:00
parent c53229182e
commit ed431b1acd

View File

@@ -186,7 +186,6 @@ def update_category_parameters(apps, schema_editor):
to_update.append(item) to_update.append(item)
if len(to_update) > 0: if len(to_update) > 0:
PartCategoryParameterTemplate.objects.bulk_update(to_update, ['template']) PartCategoryParameterTemplate.objects.bulk_update(to_update, ['template'])
print(f"Updated {len(to_update)} PartCategoryParameterTemplate instances.") print(f"Updated {len(to_update)} PartCategoryParameterTemplate instances.")
@@ -195,6 +194,7 @@ def update_category_parameters(apps, schema_editor):
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('contenttypes', '__latest__'),
("part", "0132_partparametertemplate_selectionlist"), ("part", "0132_partparametertemplate_selectionlist"),
("company", "0034_manufacturerpart"), ("company", "0034_manufacturerpart"),
("common", "0040_parametertemplate_parameter"), ("common", "0040_parametertemplate_parameter"),