stages/prompt: set UUID to be a string (#4563)

This commit is contained in:
Aaron Carson 2023-01-29 23:02:12 +00:00 committed by GitHub
parent b99929cf16
commit c05d6b96a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def set_generated_name(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
if stage:
name += "_" + stage.name
else:
name += "_" + uuid4()
name += "_" + str(uuid4())
prompt.name = name
prompt.save()