rename cmi_url to cmi_hostname
diff --git a/xos/hpc/admin.py b/xos/hpc/admin.py
index efdb989..003af86 100644
--- a/xos/hpc/admin.py
+++ b/xos/hpc/admin.py
@@ -18,7 +18,7 @@
verbose_name_plural = "HPC Service"
list_display = ("backend_status_icon", "name","enabled")
list_display_links = ('backend_status_icon', 'name', )
- fieldsets = [(None, {'fields': ['backend_status_text', 'name','enabled','versionNumber', 'description', "cmi_url"], 'classes':['suit-tab suit-tab-general']})]
+ fieldsets = [(None, {'fields': ['backend_status_text', 'name','enabled','versionNumber', 'description', "cmi_hostname"], 'classes':['suit-tab suit-tab-general']})]
readonly_fields = ('backend_status_text', )
inlines = [SliceInline,ServiceAttrAsTabInline]
diff --git a/xos/hpc/models.py b/xos/hpc/models.py
index 9b00a00..04fe3bc 100644
--- a/xos/hpc/models.py
+++ b/xos/hpc/models.py
@@ -14,7 +14,7 @@
app_label = "hpc"
verbose_name = "HPC Service"
- cmi_url = models.URLField(null=True, blank=True)
+ cmi_hostname = StrippedCharField(max_length=254, null=True, blank=True)
class ServiceProvider(PlCoreBase):
class Meta: