X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/942ef428ab9a31655c90dd3396a260c92189fad1..4e1191300b4ebea295dee07769dc9da4e7149395:/models/base.py diff --git a/models/base.py b/models/base.py index 836fe4a..faac89b 100644 --- a/models/base.py +++ b/models/base.py @@ -55,10 +55,6 @@ def unregister_value_model(model): class AttributeValue(models.Model): attribute_set = generic.GenericRelation('Attribute', content_type_field='value_content_type', object_id_field='value_object_id') - @property - def attribute(self): - return self.attribute_set.all()[0] - def set_value(self, value): raise NotImplementedError