Skip to content
Snippets Groups Projects
Commit 7c1d165d authored by Valentin Rigal's avatar Valentin Rigal Committed by Valentin Rigal
Browse files

Typo

parent 9bd7a582
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ def remove_entity_metatype(apps, schema_editor):
MetaData.objects.filter(type=OldMetaType.Entity, entity__type=EntityType.Date).update(type=OldMetaType.Date)
MetaData.objects.filter(type=OldMetaType.Entity).update(type=OldMetaType.Text)
# Restaure MetaType enum
# Restore MetaType enum
MetaData._meta.fields[2].enum = MetaType
......@@ -40,7 +40,7 @@ def add_entity_metatype(apps, schema_editor):
MetaData._meta.fields[2].enum = OldMetaType
MetaData.objects.exclude(entity__isnull=True).update(type=OldMetaType.Entity)
# Restaure MetaType enum
# Restore MetaType enum
MetaData._meta.fields[2].enum = MetaType
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment