Fix typo in migration. GitHub issue #263. Thanks to @simeon-walker
for the find. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ def create_ocr_setting_for_existing_document_types(apps, schema_editor):
|
||||
for document_type in DocumentType.objects.all():
|
||||
try:
|
||||
DocumentTypeSettings.objects.create(document_type=document_type)
|
||||
except DocumentTypeSettings.DoesNotExists:
|
||||
except DocumentTypeSettings.DoesNotExist:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user