summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-11-26 13:06:35 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit30bf32d6768f3c013b44e1ed76d94f9954d6e565 (patch)
tree32524e3090ec9ab19d15da5aa8f82b713597f0dd /ishtar_common/models.py
parentfda191a63534f13470844bf5d7462f260801e318 (diff)
downloadIshtar-30bf32d6768f3c013b44e1ed76d94f9954d6e565.tar.bz2
Ishtar-30bf32d6768f3c013b44e1ed76d94f9954d6e565.zip
Refactor custom widgets templates - ISSN/ISBN check
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 2 insertions, 2 deletions
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(