app/django/contrib/sites/admin.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sun, 05 Jul 2009 12:18:31 +0200
changeset 2544 8f3a8e066111
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Set new Melange version number to 0-5-20090705 in app.yaml.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)