Some code re-use in templates
As a side-effect the pre-accept and pre-accept are now first, rather
then mingled with the other buttons.
Patch by: Sverre Rabbelier
from django.contrib import admin
from django.contrib.sites.models import Site
class SiteAdmin(admin.ModelAdmin):
list_display = ('domain', 'name')
search_fields = ('domain', 'name')
admin.site.register(Site, SiteAdmin)