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