jsonmodels
jsonmodels copied to clipboard
List of primitives
Hi, How do I define a field that is a list of floats? Also, is it possible to defined a field that is a list of list of floats (e.g. float matrix) Thanks.
List of floats:
class MyModel(models.Base):
list_of_floats = fields.ListField(float)
Not sure about float matrix.