1 2 3 4 5 6 7 8
from django.contrib import admin from django.contrib.sites.models import Site @admin.register(Site) class SiteAdmin(admin.ModelAdmin): list_display = ('domain', 'name') search_fields = ('domain', 'name')
Generated by nedoc v0.9 at 2020-12-29 14:04