blob: 2c55b2cf42a2270483136ef6e328f1a2fb7705d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
from django.contrib import admin
from .models import Instrument, SubInstrument
class SubInstrumentAdmin(admin.ModelAdmin):
list_display = ("__str__", "itype", "parent")
admin.site.register(Instrument)
admin.site.register(SubInstrument, SubInstrumentAdmin)
|