commit | 542cd6fe413269e9258ba00758cd2ccaa881d463 | [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 | c46275aecf04f98a8323443055edabc0cc149e2c [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)