# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django_services import admin
from ..service.parameter import ParameterService
from ..forms.parameter import ParameterForm


class ParameterAdmin(admin.DjangoServicesAdmin):
    form = ParameterForm
    service_class = ParameterService
    search_fields = ("name",)
    list_filter = ("engine_type", "dynamic", )
    list_display = ("name", "engine_type", "dynamic", "class_path")
    save_on_top = True

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django_services import admin
from ..service.parameter import ParameterService
from ..forms.parameter import ParameterForm


class ParameterAdmin(admin.DjangoServicesAdmin):
    form = ParameterForm
    service_class = ParameterService
    search_fields = ("name",)
    list_filter = ("engine_type", "dynamic", )
    list_display = ("name", "engine_type", "dynamic", "custom_method")
    save_on_top = True

Rename model field class_path to custom_method
Rename model field class_path to custom_method
