summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py6
1 files changed, 3 insertions, 3 deletions
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(