From a6e806ddd867ef953715c5beed8015006f8a14c5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 9 Feb 2024 13:09:05 +0100 Subject: ✨ find/document sheet update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fields: quantity_comment, technical_areas, technical_processes, rights_owner, licenses, copyright, shooting_angle. --- ishtar_common/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index aa7fda851..ebba1c034 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -4453,6 +4453,9 @@ class Document( publishing_year = models.PositiveIntegerField( _("Year of publication"), blank=True, null=True ) + licenses = models.ManyToManyField( + LicenseType, verbose_name=_("Rights of use / license"), blank=True + ) rights_owner = models.ForeignKey( Organization, verbose_name=_("Rights owner"), @@ -4460,9 +4463,6 @@ class Document( null=True, on_delete=models.SET_NULL, ) - licenses = models.ManyToManyField( - LicenseType, verbose_name=_("Rights of use / license"), blank=True - ) copyright = models.TextField(_("Copyright"), blank=True, default="") tags = models.ManyToManyField(DocumentTag, verbose_name=_("Tags"), blank=True) language = models.ForeignKey( -- cgit v1.2.3