blob: 6d3dba2eae39244f651b5308def8036125ebada0 [file] [log] [blame]
Sapan Bhatia084c0982017-04-21 14:47:40 +02001sync_attributes = ( 'test', 'argument', "scope" )
2
3def __init__(self, *args, **kwargs):
4 vtr_services = VTRService.get_service_objects().all()
5 if vtr_services:
6 self._meta.get_field("provider_service").default = vtr_services[0].id
7 super(VTRTenant, self).__init__(*args, **kwargs)
8
9def save(self, *args, **kwargs):
10 super(VTRTenant, self).save(*args, **kwargs)
11
12def delete(self, *args, **kwargs):
13 super(VTRTenant, self).delete(*args, **kwargs)
14