Skip to content

Commit

Permalink
Alterado o use_license na coleção
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilatta committed Apr 13, 2016
1 parent 57faf18 commit f99f068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opac_schema/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class Collection(Document):
acronym = StringField(max_length=50, required=True, unique=True)
name = StringField(max_length=100, required=True, unique_with='acronym')

license = EmbeddedDocumentField(UseLicense, required=True)
license = StringField(max_length=20)

sponsors = ListField(ReferenceField(Sponsor, reverse_delete_rule=PULL))

Expand Down

0 comments on commit f99f068

Please sign in to comment.