blob: 7ac737eccc1e10a72558c73d09aeac25f1a74cbd [file] [log] [blame]
def model_policy_exampletenant(pk):
with transaction.atomic():
tenant = ExampleTenant.objects.select_for_update().filter(pk=pk)
if not tenant:
return
tenant = tenant[0]
tenant.manage_container()