Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disponibiliza o campo doi_prefix na API Journal #830

Merged
merged 11 commits into from
Oct 1, 2024
1 change: 1 addition & 0 deletions journal/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ class Journal(CommonControlField, ClusterableModel):
blank=True,
verbose_name=_("DigitalPreservationAgency"),
)
doi_prefix = models.CharField(max_length=50, blank=True, null=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samuelveigarangel
O tamanho 50 para o prefixo está muito grande. O tamanho total indicado para o DOI está como 100.
Consulte: https://www.crossref.org/documentation/member-setup/constructing-your-dois/

valid = models.BooleanField(default=False, null=True, blank=True)

autocomplete_search_field = "title"
Expand Down