From 30bf32d6768f3c013b44e1ed76d94f9954d6e565 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 26 Nov 2020 13:06:35 +0100 Subject: Refactor custom widgets templates - ISSN/ISBN check --- ishtar_common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 1762674e8..e251fee89 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3015,8 +3015,8 @@ class Document(BaseHistorizedItem, CompleteIdentifierItem, OwnPerms, ImageModel, blank=True) language = models.ForeignKey( Language, verbose_name=_("Language"), blank=True, null=True) - issn = models.CharField(_("ISSN"), blank=True, null=True, max_length=8) - isbn = models.CharField(_("ISBN"), blank=True, null=True, max_length=13) + issn = models.CharField(_("ISSN"), blank=True, null=True, max_length=10) + isbn = models.CharField(_("ISBN"), blank=True, null=True, max_length=17) source = models.ForeignKey("Document", verbose_name=_("Source"), blank=True, null=True) source_free_input = models.CharField( -- cgit v1.2.3