CORD-1244 cleanup use of get_tenant/get_service
Change-Id: Iae02c3d73d64a105dadade3e64f73cad885c34fa
diff --git a/xos/attic/exampletenant_model.py b/xos/attic/exampletenant_model.py
index ad69d03..9eb1f86 100644
--- a/xos/attic/exampletenant_model.py
+++ b/xos/attic/exampletenant_model.py
@@ -1,5 +1,5 @@
def __init__(self, *args, **kwargs):
- exampleservice = ExampleService.get_service_objects().all()
+ exampleservice = ExampleService.objects.all()
if exampleservice:
self._meta.get_field('provider_service').default = exampleservice[0].id
super(ExampleTenant, self).__init__(*args, **kwargs)