Gitiles
Code Review
Sign In
gerrit.opencord.org
/
exampleservice
/
9832424eba5e187991596f7c6ba51d5bc9d015ec
/
.
/
xos
/
attic
/
exampletenant_bottom.py
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
()