Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
c6543ddb2cc20da67eb28dc3cb7961118b961d2d
/
.
/
lib
/
xos-genx
/
xosgenx
/
targets
/
django-security.xtarget
blob: d970ceab98be993f2a969838fd09b6e1743634df [
file
] [
log
] [
blame
]
from
privilege
import
Privilege
from
django
.
db
.
models
import
Q
{%
for
m
in
proto
.
messages
%}
{%
if
m
.
policy
%}
{{
xproto_fol_to_python_test
(
m
.
policy
,
proto
.
policies
[
m
.
policy
],
m
)
}}
{%
endif
%}
{%
endfor
%}