from django.contrib import admin
from .models import Service


class ServiceAdmin(admin.ModelAdmin):
    list_display = ('name', 'slug', 'local_mind', 'type', 'users_count',)
    list_filter = ('type',)
    search_fields = ('name', 'local_mind__name',)


admin.site.register(Service, ServiceAdmin)

1bcc5fb142a4ee8e4c05a8fad4f1a053c19f1071
<mask token>


class ServiceAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class ServiceAdmin(admin.ModelAdmin):
    list_display = 'name', 'slug', 'local_mind', 'type', 'users_count'
    list_filter = 'type',
    search_fields = 'name', 'local_mind__name'


<mask token>

<mask token>


class ServiceAdmin(admin.ModelAdmin):
    list_display = 'name', 'slug', 'local_mind', 'type', 'users_count'
    list_filter = 'type',
    search_fields = 'name', 'local_mind__name'


admin.site.register(Service, ServiceAdmin)

from django.contrib import admin
from .models import Service


class ServiceAdmin(admin.ModelAdmin):
    list_display = 'name', 'slug', 'local_mind', 'type', 'users_count'
    list_filter = 'type',
    search_fields = 'name', 'local_mind__name'


admin.site.register(Service, ServiceAdmin)

from django.contrib import admin
from .models import Service


class ServiceAdmin(admin.ModelAdmin):
    list_display = ('name', 'slug', 'local_mind', 'type', 'users_count',)
    list_filter = ('type',)
    search_fields = ('name', 'local_mind__name',)


admin.site.register(Service, ServiceAdmin)
