summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-26 18:39:41 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:43:58 +0200
commit0c90e6897fc0c95aa79f260e9e7ef861666be506 (patch)
treee30079fda3f83c4ddf1d81f4668b81d4f1d51414 /ishtar_common/models.py
parent0cf61e37a1a1a299a008b5cd6162ab8216aae6b2 (diff)
downloadIshtar-0c90e6897fc0c95aa79f260e9e7ef861666be506.tar.bz2
Ishtar-0c90e6897fc0c95aa79f260e9e7ef861666be506.zip
Add URL to licence types. Add missing model to admin.
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 3a0bb853f..35be3ffc0 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3026,6 +3026,7 @@ class Source(OwnPerms, ImageModel, FullSearch):
class LicenseType(GeneralType):
+ url = models.URLField(_(u"URL"), blank=True, null=True)
class Meta:
verbose_name = _(u"License type")
verbose_name_plural = _(u"License types")