diff --git a/services/webapp/code/rosetta/core_app/models.py b/services/webapp/code/rosetta/core_app/models.py index 76389f1d8fb26837e5132f11c8d1760faa056f07..53e38bd306a99317d8304fd527058bca4c5f7ba6 100644 --- a/services/webapp/code/rosetta/core_app/models.py +++ b/services/webapp/code/rosetta/core_app/models.py @@ -5,7 +5,7 @@ from django.conf import settings from django.db import models from django.contrib.auth.models import User, Group from django.utils import timezone -from .utils import os_shell, color_map, hash_string_to_int, get_task_tunnel_host +from .utils import os_shell, color_map, hash_string_to_int, get_rosetta_tasks_tunnel_host from .exceptions import ConsistencyException if 'sqlite' in settings.DATABASES['default']['ENGINE']: @@ -356,7 +356,7 @@ class Task(models.Model): @property def tcp_tunnel_host(self): - return get_task_tunnel_host() + return get_rosetta_tasks_tunnel_host()