changeset 3589 | a5432f99f2d9 |
parent 3451 | 6b46d73823f5 |
parent 3578 | 7f026d15cc82 |
child 3720 | 5376aaadd16b |
--- a/entities/__init__.py Wed Sep 30 18:57:42 2009 +0200 +++ b/entities/__init__.py Wed Oct 07 12:31:08 2009 +0200 @@ -183,6 +183,8 @@ """return (path, parameters) which should be used as redirect information when this entity is being deleted """ + if hasattr(self, 'parent') and self.parent(): + return self.parent().rest_path(), {} return str(self.e_schema).lower(), {} def pre_web_edit(self):