Fix non null field 'description' (#7488)

Fix typo in migration '0026_auto_20240422_1301.py' to resolve error: `TypeError: LabelTemplate() got unexpected keyword arguments: 'decription'`
This commit is contained in:
mp-strachan 2024-06-21 21:31:07 +10:00 committed by GitHub
parent edd0680344
commit 5a6708a042
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ def convert_legacy_labels(table_name, model_name, template_model):
'name', 'description', 'label', 'enabled', 'height', 'width', 'filename_pattern', 'filters'
]
non_null_fields = ['decription', 'filename_pattern', 'filters']
non_null_fields = ['description', 'filename_pattern', 'filters']
fieldnames = ', '.join(fields)