app/django/contrib/sites/admin.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 28 Sep 2009 12:22:48 +0200
changeset 2988 e11f934e6063
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added tag v0-5-20090928 for changeset db28a7db5cc6

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)