|
@@ -38,7 +38,7 @@ class ServiceTypeList(ServiceTypeMixin, ListView):
|
|
|
|
|
|
|
|
|
class ServiceTypeCreate(ServiceTypeMixin, CreateView):
|
|
|
- pass
|
|
|
+ fields = ('name',)
|
|
|
|
|
|
|
|
|
class ServiceTypeDetail(ServiceTypeMixin, DetailView):
|
|
@@ -46,7 +46,7 @@ class ServiceTypeDetail(ServiceTypeMixin, DetailView):
|
|
|
|
|
|
|
|
|
class ServiceTypeUpdate(ServiceTypeMixin, UpdateView):
|
|
|
- pass
|
|
|
+ fields = ('name',)
|
|
|
|
|
|
|
|
|
class IPResourceMixin(PermissionRequiredMixin):
|