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
commit46fcb2d2354d71b53fd0f72af62b224e50370211 (patch)
treee51f904061202850f3f4c36f2383aaf521892e36 /ishtar_common/models.py
parent7d856519f1b70e71c8e46f9f042cdc9b120b2b34 (diff)
downloadIshtar-46fcb2d2354d71b53fd0f72af62b224e50370211.tar.bz2
Ishtar-46fcb2d2354d71b53fd0f72af62b224e50370211.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()