commit | a17e6e46086801159f43c5b2d25a78205bffe378 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Fri May 25 10:28:25 2018 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Fri May 25 10:48:34 2018 -0700 |
tree | 1b2fbcea3a623f1ab6ef39be6a530f7d0afe3c44 | |
parent | 5e4fc089a9dbdc4e3e2fd777448b8112bc29701f [diff] [blame] |
Updating error message in xproto Change-Id: I21ff9746e61f83d83c7cc64c452913d1299b49f9
diff --git a/lib/xos-genx/xosgenx/targets/django.xtarget b/lib/xos-genx/xosgenx/targets/django.xtarget index 13d37f9..631e8cd 100644 --- a/lib/xos-genx/xosgenx/targets/django.xtarget +++ b/lib/xos-genx/xosgenx/targets/django.xtarget
@@ -76,7 +76,7 @@ # Meta class Meta: - {%- set uniques = xproto_field_graph_components(m.fields) %} + {%- set uniques = xproto_field_graph_components(m.fields, m) %} {%- if uniques %} unique_together = {{ xproto_tuplify(uniques) }} {%- endif %}