mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-16 22:40:26 +00:00
Fix Unexpected keyword arguments to values_list: ['Flat'] bug in models.entity.get_all_attribute_slugs
This commit is contained in:
parent
17a0bf4203
commit
21aa62a35c
1 changed files with 1 additions and 1 deletions
|
|
@ -485,7 +485,7 @@ class Entity(object):
|
|||
'''
|
||||
Returns a list of slugs for all attributes available to this entity.
|
||||
'''
|
||||
return self.get_all_attributes().values_list('slug', Flat=True)
|
||||
return self.get_all_attributes().values_list('slug', flat=True)
|
||||
|
||||
def get_attribute_by_slug(self, slug):
|
||||
'''
|
||||
|
|
|
|||
Loading…
Reference in a new issue