11 lines
258 B
Python
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)
|