diff options
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 |
commit | 4c9844f9c41e7fccb98228b55b26b15bfb6db364 (patch) | |
tree | e51f904061202850f3f4c36f2383aaf521892e36 /ishtar_common/models.py | |
parent | 391773a44c59f8e809233a33e8402585f5d3e084 (diff) | |
download | Ishtar-4c9844f9c41e7fccb98228b55b26b15bfb6db364.tar.bz2 Ishtar-4c9844f9c41e7fccb98228b55b26b15bfb6db364.zip |
Add URL to organization
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 1 |
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() |