We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a052ec commit 6425e49Copy full SHA for 6425e49
core/database.py
@@ -18,7 +18,7 @@ class StringListField(Field):
18
19
def _value(self):
20
if self.data:
21
- return ','.join([d for d in self.data])
+ return ','.join([str(d) for d in self.data])
22
else:
23
return ''
24
core/web/frontend/observables.py
@@ -34,8 +34,9 @@ def advanced(self):
34
export_templates=ExportTemplate.objects.all())
35
36
def create_obj(self, obj, skip_validation):
37
+ tags = obj.tags
38
obj = obj.get_or_create(value=obj.value)
- [obj.tag(tag) for tag in obj.tags]
39
+ [obj.tag(str(tag)) for tag in tags]
40
return obj
41
42
# override to guess observable type
0 commit comments