Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
d60b30b1d1f7896f72770c73149ed31336ce1598
/
.
/
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
%}