Skip to content

Commit

Permalink
Added concrete attribute on VirtualField for django 1.8 #105
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Jun 4, 2015
1 parent fd33e31 commit 4b60bd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django_hstore/virtual.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class HStoreVirtualMixin(object):
"""
must be mixed-in with django fields
"""
concrete = False

def contribute_to_class(self, cls, name):
if self.choices:
setattr(cls, 'get_%s_display' % self.name,
Expand Down

0 comments on commit 4b60bd5

Please sign in to comment.