git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '404_relationship_bugfix' of git://github.com/melinath/philo
[philo.git]
/
models
/
base.py
diff --git
a/models/base.py
b/models/base.py
index
5d09f37
..
05074c3
100644
(file)
--- a/
models/base.py
+++ b/
models/base.py
@@
-340,11
+340,5
@@
class TreeEntity(Entity, TreeModel):
return QuerySetMapper(self.attribute_set, passthrough=self.parent.attributes)
return super(TreeEntity, self).attributes
return QuerySetMapper(self.attribute_set, passthrough=self.parent.attributes)
return super(TreeEntity, self).attributes
- @property
- def relationships(self):
- if self.parent:
- return QuerySetMapper(self.relationship_set, passthrough=self.parent.relationships)
- return super(TreeEntity, self).relationships
-
class Meta:
abstract = True
\ No newline at end of file
class Meta:
abstract = True
\ No newline at end of file