Skip to content

Commit

Permalink
Fixed Contract.date
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jun 1, 2016
1 parent 33a7658 commit b32bac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openprocurement/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ class Options:
documents = ListType(ModelType(Document), default=list())
items = ListType(ModelType(Item))
suppliers = ListType(ModelType(Organization), min_size=1, max_size=1)
date = IsoDateTimeType(default=get_now)
date = IsoDateTimeType()

def validate_awardID(self, data, awardID):
if awardID and isinstance(data['__parent__'], Model) and awardID not in [i.id for i in data['__parent__'].awards]:
Expand Down

0 comments on commit b32bac5

Please sign in to comment.