Fakultas Ilmu Komputer UI

Commit 78e29f11 authored by Jonathan Christopher Jakub's avatar Jonathan Christopher Jakub
Browse files

[REFACTOR] Register history models to admin

parent 638cf77c
Pipeline #41531 passed with stages
in 20 minutes
from django.contrib import admin
from apps.accounts.models import Account
from apps.accounts.models import Account, AccountHistory
admin.site.register(Account)
admin.site.register(AccountHistory)
from django.contrib import admin
from apps.cases.models import (
CaseSubject,
CaseSubjectHistory,
InvestigationCase,
InvestigationCaseHistory,
MonitoringCase,
MonitoringCaseHistory,
)
admin.site.register(CaseSubject)
admin.site.register(CaseSubjectHistory)
admin.site.register(InvestigationCase)
admin.site.register(InvestigationCaseHistory)
admin.site.register(MonitoringCase)
admin.site.register(MonitoringCaseHistory)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment