app/django/contrib/sites/admin.py
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 24 Feb 2009 19:43:15 +0000
changeset 1483 f5d1229e9360
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added link in program menu to the new list_orgs view. 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)