Moved the custom error.html page for Site to it's proper place
Also made the error template a proper parameter instead of re-using
the edit/public template.
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)