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
commiteb7e96c07ad61a6e66fa8fd94f80fa317a99afb0 (patch)
tree32524e3090ec9ab19d15da5aa8f82b713597f0dd /ishtar_common/models.py
parent1a64a5f096f1d34c5526ca64b963588feef10add (diff)
downloadIshtar-eb7e96c07ad61a6e66fa8fd94f80fa317a99afb0.tar.bz2
Ishtar-eb7e96c07ad61a6e66fa8fd94f80fa317a99afb0.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(