From: Stephen Burrows Date: Mon, 21 Feb 2011 22:22:24 +0000 (-0500) Subject: Removed apparently-vestigial Entity.attribute property. X-Git-Tag: philo-0.9~17^2~11 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/3cca0bf2f0e4ff926b8e3aa598d6693561a7bab4?hp=6f2781d1ebfccf4c9d5f36a56402f05c161a972c Removed apparently-vestigial Entity.attribute property. --- 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