blob: 383cdbdc2123564e0f4c7d3e26aa467d04801cac [file] [log] [blame]
Sapan Bhatiabfb233a2018-02-09 14:53:09 -08001{% set required_options = ['name','verbose_name','app_label'] %}
2
3{% for m in proto.messages %}
4{% for o in required_options %}
5{% if not options[o] and not m.options[o] %}
6504 Required option {{ o }} is missing from model {{ m.name }}
7{% endif %}
8
9{% set required_field_options = ['tosca_key'] %}
10
11{% endfor %}
12{% endfor %}