1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-09 07:30:19 +02:00

ISBN is unique

This commit is contained in:
Yohann D'ANELLO
2020-02-10 17:41:05 +01:00
parent ef710bf964
commit 53ea1288c1
2 changed files with 21 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class Media(models.Model):
isbn = ISBNField(
_('ISBN'),
help_text=_('You may be able to scan it from a bar code.'),
unique=True,
blank=True,
null=True,
)