Borrowing-TrackerBackend/equipment_tracker/breakages/admin.py

10 lines
240 B
Python
Raw Normal View History

from django.contrib import admin
2023-12-09 00:38:29 +08:00
from .models import BreakageReport
2023-12-09 00:38:29 +08:00
class BreakageReportAdmin(admin.ModelAdmin):
list_display = ('id', 'transaction', 'resolved', 'timestamp')
admin.site.register(BreakageReport, BreakageReportAdmin)