stages/prompt: set UUID to be a string (#4563)
This commit is contained in:
parent
b99929cf16
commit
c05d6b96a2
|
@ -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()
|
||||
|
||||
|
|
Reference in New Issue