blob: 7ac737eccc1e10a72558c73d09aeac25f1a74cbd [file] [log] [blame]
Sapan Bhatiace657e62017-04-21 14:20:41 +02001def model_policy_exampletenant(pk):
2 with transaction.atomic():
3 tenant = ExampleTenant.objects.select_for_update().filter(pk=pk)
4 if not tenant:
5 return
6 tenant = tenant[0]
7 tenant.manage_container()
8