equal
deleted
inserted
replaced
|
1 from django.contrib import admin |
|
2 from django.contrib.sites.models import Site |
|
3 |
|
4 |
|
5 class SiteAdmin(admin.ModelAdmin): |
|
6 list_display = ('domain', 'name') |
|
7 search_fields = ('domain', 'name') |
|
8 |
|
9 admin.site.register(Site, SiteAdmin) |