diff --git a/nodeodm/models.py b/nodeodm/models.py index c4f5edb4..d4973a10 100644 --- a/nodeodm/models.py +++ b/nodeodm/models.py @@ -27,7 +27,7 @@ def api(func): return wrapper class ProcessingNode(models.Model): - hostname = models.CharField(max_length=255, help_text="Hostname where the node is located (can be an internal hostname as well)") + hostname = models.CharField(max_length=255, help_text="Hostname or IP address where the node is located (can be an internal hostname as well). If you are using Docker, this is never 127.0.0.1 or localhost. Find the IP address of your host machine by running ifconfig on Linux or by checking your network settings.") port = models.PositiveIntegerField(help_text="Port that connects to the node's API") api_version = models.CharField(max_length=32, null=True, help_text="API version used by the node") last_refreshed = models.DateTimeField(null=True, help_text="When was the information about this node last retrieved?") @@ -189,4 +189,4 @@ class ProcessingNodeUserObjectPermission(UserObjectPermissionBase): content_object = models.ForeignKey(ProcessingNode) class ProcessingNodeGroupObjectPermission(GroupObjectPermissionBase): - content_object = models.ForeignKey(ProcessingNode) \ No newline at end of file + content_object = models.ForeignKey(ProcessingNode)