app/django/contrib/sites/admin.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 15 Mar 2009 20:58:39 +0000
changeset 1886 660bdc99239c
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Changed line-endings in notifications base template. 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)