Ensure explicit use of field name

This commit is contained in:
Wolf-Bastian Poettner 2020-02-17 21:02:37 +00:00
parent 2bd4eb2292
commit 12c7b0d5f5

View File

@ -312,7 +312,7 @@ class Document(models.Model):
mylist = list() mylist = list()
for t in field.all(): for t in field.all():
mylist.append(slugify(t)) mylist.append(slugify(t.name))
return mylist return mylist