month not required
This commit is contained in:
@@ -21,7 +21,7 @@ class NormDocument(Document):
|
||||
number = StringField(required=True)
|
||||
|
||||
year =IntField(min_value=1900, max_value=2099)
|
||||
month = IntField(min_value=1, max_value=12)
|
||||
month = IntField(min_value=1, max_value=12, required=False)
|
||||
|
||||
meta = {
|
||||
'allow_inheritance': True,
|
||||
|
||||
Reference in New Issue
Block a user