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