commit | 61a9f200a17f6c72f3240e8da0666fb199c52302 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Wed Aug 01 08:58:13 2018 -0400 |
committer | Matteo Scandolo <teo@opennetworking.org> | Thu Aug 09 07:14:39 2018 -0700 |
tree | 24622bf8d512b7223c151783337dd51953ba6b0a | |
parent | d06039485108fd2f5197f386b8b429382fa0dcaa [diff] [blame] |
[SEBA-126] Adding xproto support for min and max validators Change-Id: I6141c678d88a894db2a86132bdbad4e9c6b31b2f
diff --git a/lib/xos-genx/xosgenx/targets/django.xtarget b/lib/xos-genx/xosgenx/targets/django.xtarget index 631e8cd..ab67936 100644 --- a/lib/xos-genx/xosgenx/targets/django.xtarget +++ b/lib/xos-genx/xosgenx/targets/django.xtarget
@@ -99,6 +99,8 @@ except AttributeError: pass + self.full_clean() + {% for policy,error in xproto_validations(m.options) %} policy_{{policy}}_validator(self, None) {% endfor %}