Put constraints (positional) before args (keywords).

This commit is contained in:
Gabriel 2011-07-05 19:57:27 +02:00
parent 15911e6bfe
commit 15f571d296

View File

@ -88,7 +88,7 @@ class ModelGenerator(object):
data = {
'name': name,
'commonStuff': ', '.join([type_repr] + args + constraints),
'commonStuff': ', '.join([type_repr] + constraints + args),
}
if self.declarative: