update docs, update allow_blank in test and string fields

This commit is contained in:
collerek
2020-10-08 18:03:26 +02:00
parent 740e5da017
commit 85d119c14b
50 changed files with 4 additions and 9062 deletions

View File

@ -17,7 +17,7 @@ class Company(ormar.Model):
database = database
id: ormar.Integer(primary_key=True)
name: ormar.String(max_length=100)
name: ormar.String(max_length=100, nullable=False)
founded: ormar.Integer(nullable=True)