commit | cd32ad008f22ed3f02bac273773375d062cd195d | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Oct 19 21:18:53 2015 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Oct 19 21:18:53 2015 -0700 |
tree | 77ca9c092e953af2c5ce0148b4a531c6418a80fa | |
parent | 5bdada369b19ded694ee1c94254a67c29d259e59 [diff] |
support for the Service sync_step
diff --git a/xos/core/models/service.py b/xos/core/models/service.py index 8d2180c..e56f605 100644 --- a/xos/core/models/service.py +++ b/xos/core/models/service.py
@@ -67,6 +67,10 @@ return cls.objects.filter(kind = cls.KIND) @classmethod + def get_deleted_service_objects(cls): + return cls.deleted_objects.filter(kind = cls.KIND) + + @classmethod def get_service_objects_by_user(cls, user): return cls.select_by_user(user).filter(kind = cls.KIND)