app/django/contrib/sites/admin.py
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 21 Jan 2009 23:18:39 +0000
changeset 893 2dba566e4bf8
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added Ignored applications to the list view. Also restored the New Club notification upon application acceptance. That broke in r1483. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

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)