from django.contrib import admin
from machines.models import Machine, MachineDetail


class MachineAdmin(admin.ModelAdmin):
    model = Machine


class MachineDetailsAdmin(admin.ModelAdmin):
    model = MachineDetail


admin.site.register(Machine, MachineAdmin)
admin.site.register(MachineDetail, MachineDetailsAdmin)

378e97da5086d68ebd8681eb74bd376d7fc91b77
<mask token>


class MachineDetailsAdmin(admin.ModelAdmin):
    model = MachineDetail


<mask token>

<mask token>


class MachineAdmin(admin.ModelAdmin):
    model = Machine


class MachineDetailsAdmin(admin.ModelAdmin):
    model = MachineDetail


<mask token>

<mask token>


class MachineAdmin(admin.ModelAdmin):
    model = Machine


class MachineDetailsAdmin(admin.ModelAdmin):
    model = MachineDetail


admin.site.register(Machine, MachineAdmin)
admin.site.register(MachineDetail, MachineDetailsAdmin)

from django.contrib import admin
from machines.models import Machine, MachineDetail


class MachineAdmin(admin.ModelAdmin):
    model = Machine


class MachineDetailsAdmin(admin.ModelAdmin):
    model = MachineDetail


admin.site.register(Machine, MachineAdmin)
admin.site.register(MachineDetail, MachineDetailsAdmin)
