Skip to content

Commit

Permalink
Adicionado o atributo PID no Issue e no Article
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilatta committed Mar 15, 2016
1 parent 17180a4 commit 54f572e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opac_schema/v1/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ class Issue(Document):

is_public = BooleanField(required=True, default=True)
unpublish_reason = StringField()
pid = StringField()

meta = {
'collection': 'issue'
Expand All @@ -265,6 +266,7 @@ class Article(Document):
order = IntField()
doi = StringField()
htmls = EmbeddedDocumentListField(ArticleHTML)
pid = StringField()

domain_key = StringField()

Expand Down

0 comments on commit 54f572e

Please sign in to comment.