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