Ensure explicit use of field name

This commit is contained in:
Wolf-Bastian Poettner committed 2020-02-17 21:05:34 +00:00
1 parent 2bd4eb2292
commit 12c7b0d5f5
1 file changed
+1 -1
+1 -1
View File
@@ -312,7 +312,7 @@ class Document(models.Model):
mylist = list()
for t in field.all():
mylist.append(slugify(t))
mylist.append(slugify(t.name))
return mylist