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
commit4fa0e9a22f25231f18d2beeb25438c0e9637e46e (patch)
treee30079fda3f83c4ddf1d81f4668b81d4f1d51414 /ishtar_common/models.py
parent6ae2b1824471f53269b5ccaac76db5fc73f16543 (diff)
downloadIshtar-4fa0e9a22f25231f18d2beeb25438c0e9637e46e.tar.bz2
Ishtar-4fa0e9a22f25231f18d2beeb25438c0e9637e46e.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")