Commit f0462cb1 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

added uuid generation for AbstractInput options.

parent 275af07d
......@@ -267,6 +267,10 @@ class AbstractWidget(models.Model):
i.uid = uuid.uuid4()
if commit:
for option in i:
option.uid = uuid.uuid4()
if commit:
for o in self.outputs.all():
o.uid = uuid.uuid4()
if commit:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment