Skip to content

Commit 21aa62a

Browse files
committed
Fix Unexpected keyword arguments to values_list: ['Flat'] bug in models.entity.get_all_attribute_slugs
1 parent 17a0bf4 commit 21aa62a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eav/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def get_all_attribute_slugs(self):
485485
'''
486486
Returns a list of slugs for all attributes available to this entity.
487487
'''
488-
return self.get_all_attributes().values_list('slug', Flat=True)
488+
return self.get_all_attributes().values_list('slug', flat=True)
489489

490490
def get_attribute_by_slug(self, slug):
491491
'''

0 commit comments

Comments
 (0)