from django.contrib import admin
from .models import *


class ProfileAdmin(admin.ModelAdmin):
    """Customise the Profile content displayed on the admin site."""

    list_display = ('debtor', 'creditor')


class DebtorAdmin(admin.ModelAdmin):
    """Customise the Debtor content displayed on the admin site."""

    list_display = ('debtor', 'id_number')

admin.site.register(Profile, ProfileAdmin)
admin.site.register(Debtor, DebtorAdmin)

@@ -205,159 +205,8 @@
 ')%0A%0A
-%0Aclass DebtorAdmin(admin.ModelAdmin):%0A    %22%22%22Customise the Debtor content displayed on the admin site.%22%22%22%0A%0A    list_display = ('debtor', 'id_number')%0A%0A
 admi
@@ -248,45 +248,4 @@
 in)%0A
-admin.site.register(Debtor, DebtorAdmin)%0A

Remove Debtors from admin site