Commit 924e494e authored by Marco Marinello's avatar Marco Marinello

Allow http stuff to be none (for importation)

parent b71ce293
...@@ -26,13 +26,17 @@ class Institute(models.Model): ...@@ -26,13 +26,17 @@ class Institute(models.Model):
internal_host = models.CharField( internal_host = models.CharField(
max_length=1000, max_length=1000,
verbose_name=_("internal host"), verbose_name=_("internal host"),
help_text=_("host which the proxy should point to (with protocol)") help_text=_("host which the proxy should point to (with protocol)"),
null=True,
blank=True
) )
external_host = models.CharField( external_host = models.CharField(
max_length=1000, max_length=1000,
verbose_name=_("external host"), verbose_name=_("external host"),
help_text=_("proxy fqdn (without protocol)") help_text=_("proxy fqdn (without protocol)"),
null=True,
blank=True
) )
active = models.BooleanField(default=True, verbose_name=_("active")) active = models.BooleanField(default=True, verbose_name=_("active"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment