toolshed/backend/hostadmin/admin.py
2023-06-16 19:28:36 +02:00

11 lines
258 B
Python

from django.contrib import admin
from .models import Domain
class DomainAdmin(admin.ModelAdmin):
list_display = ('name', 'owner', 'open_registration')
list_filter = ('name', 'owner', 'open_registration')
admin.site.register(Domain, DomainAdmin)