from django.contrib import admin

from departments_api.models import Department, Employee


class DepartmentAdmin(admin.ModelAdmin):
    list_display = ('name', 'description')


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'username', 'email', 'birthday', 'salary')


admin.site.register(Department, DepartmentAdmin)
admin.site.register(Employee, EmployeeAdmin)

301db288d27abfcafbb97943d9600821fe4469bc
<mask token>


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


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'username', 'email',
        'birthday', 'salary')


<mask token>

<mask token>


class DepartmentAdmin(admin.ModelAdmin):
    list_display = 'name', 'description'


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'username', 'email',
        'birthday', 'salary')


<mask token>

<mask token>


class DepartmentAdmin(admin.ModelAdmin):
    list_display = 'name', 'description'


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'username', 'email',
        'birthday', 'salary')


admin.site.register(Department, DepartmentAdmin)
admin.site.register(Employee, EmployeeAdmin)

from django.contrib import admin
from departments_api.models import Department, Employee


class DepartmentAdmin(admin.ModelAdmin):
    list_display = 'name', 'description'


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'username', 'email',
        'birthday', 'salary')


admin.site.register(Department, DepartmentAdmin)
admin.site.register(Employee, EmployeeAdmin)

from django.contrib import admin

from departments_api.models import Department, Employee


class DepartmentAdmin(admin.ModelAdmin):
    list_display = ('name', 'description')


class EmployeeAdmin(admin.ModelAdmin):
    list_display = ('first_name', 'last_name', 'username', 'email', 'birthday', 'salary')


admin.site.register(Department, DepartmentAdmin)
admin.site.register(Employee, EmployeeAdmin)
