From 191416fdc2ca626552f34a958eefba0415db4a8f Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Wed, 27 Nov 2024 19:33:58 +0100 Subject: [PATCH] Revert the URN model change Complete the revert --- backend/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/models.py b/backend/core/models.py index c4bf00678..0ae725664 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -213,7 +213,7 @@ class Meta: # Why is the library URN nullable and blank ? # An URN is mandatory for a library - urn = models.CharField(max_length=255, null=False, verbose_name=_("URN")) + urn = models.CharField(max_length=255, null=True, blank=True, verbose_name=_("URN")) copyright = models.CharField( max_length=4096, null=True, blank=True, verbose_name=_("Copyright") )