summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-12-12 18:34:43 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-12-12 18:34:43 +0100
commit4c9844f9c41e7fccb98228b55b26b15bfb6db364 (patch)
treee51f904061202850f3f4c36f2383aaf521892e36 /ishtar_common/models.py
parent391773a44c59f8e809233a33e8402585f5d3e084 (diff)
downloadIshtar-4c9844f9c41e7fccb98228b55b26b15bfb6db364.tar.bz2
Ishtar-4c9844f9c41e7fccb98228b55b26b15bfb6db364.zip
Add URL to organization
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 03eda4781..04ac2ef38 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -4112,6 +4112,7 @@ class Organization(Address, Merge, OwnPerms, ValueGetter, MainItem):
name = models.CharField(_("Name"), max_length=500)
organization_type = models.ForeignKey(OrganizationType,
verbose_name=_("Type"))
+ url = models.URLField(verbose_name=_("Web address"), blank=True, null=True)
cached_label = models.TextField(_("Cached name"), null=True, blank=True,
db_index=True)
history = HistoricalRecords()