Skip to content

Commit 1ac5494

Browse files
committed
no need to fetch all attributes on each save!
1 parent 27c2121 commit 1ac5494

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eav/managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def create(self, **kwargs):
161161
if not config_cls or config_cls.manager_only:
162162
return super(EntityManager, self).create(**kwargs)
163163

164-
attributes = config_cls.get_attributes()
164+
#attributes = config_cls.get_attributes()
165165
prefix = '%s__' % config_cls.eav_attr
166166

167167
new_kwargs = {}

0 commit comments

Comments
 (0)