blob: f2d24c389905cf89cef06c588bb5e94f6e7582c9 [file] [log] [blame]
Sapan Bhatia084c0982017-04-21 14:47:40 +02001sync_attributes = ( 'test', 'argument', "scope" )
2
3def __init__(self, *args, **kwargs):
Scott Baker379404c2017-05-24 17:13:45 -07004 vtr_services = VTRService.objects.all()
Sapan Bhatia084c0982017-04-21 14:47:40 +02005 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