remove file and delete service_message in synchronizer.
Change-Id: I58349df77e1ff4fb973e341f508cbad7f3eff0f9
diff --git a/xos/admin.py b/xos/admin.py
index 5ecf1b4..8dc98d9 100644
--- a/xos/admin.py
+++ b/xos/admin.py
@@ -14,7 +14,7 @@
fields = '__all__'
def __init__(self, *args, **kwargs):
- super(VSgwServiceForm, self).__init__(*args, **kwargs)
+ super(VSGWServiceForm, self).__init__(*args, **kwargs)
if self.instance:
self.fields['service_message'].initial = self.instance.service_message
@@ -28,7 +28,7 @@
model = VSGWService
verbose_name = SERVICE_NAME_VERBOSE
verbose_name_plural = SERVICE_NAME_VERBOSE_PLURAL
- form = VSgwServiceForm
+ form = VSGWServiceForm
inlines = [SliceInline]
list_display = ('backend_status_icon', 'name', 'service_message', 'enabled')
@@ -68,7 +68,7 @@
creator = forms.ModelChoiceField(queryset=User.objects.all())
def __init__(self, *args, **kwargs):
- super(ExampleTenantForm, self).__init__(*args, **kwargs)
+ super(VSGWTenantForm, self).__init__(*args, **kwargs)
self.fields['kind'].widget.attrs['readonly'] = True
self.fields['kind'].initial = SERVICE_NAME
@@ -112,4 +112,4 @@
def get_queryset(self, request):
return VSGWTenant.get_tenant_objects_by_user(request.user)
-admin.site.register(VSGWTenant, VSGWTenantAdmin)
\ No newline at end of file
+admin.site.register(VSGWTenant, VSGWTenantAdmin)