from django.contrib import admin

from .models import ProjectWorker


class ProjectWorkerAdmin(admin.ModelAdmin):
    list_filter = ['user', 'project', 'job']


admin.site.register(ProjectWorker, ProjectWorkerAdmin)

from django.contrib import admin

from .models import ProjectWorker


class ProjectWorkerAdmin(admin.ModelAdmin):
    list_filter = ['user', 'project', 'job']
    ordering = ['user', 'project', 'job']


admin.site.register(ProjectWorker, ProjectWorkerAdmin)

add sort order