Ticket #10583: id_shown_in_sites_admin.diff
File id_shown_in_sites_admin.diff, 508 bytes (added by , 16 years ago) |
---|
-
django/contrib/sites/admin.py
diff --git a/django/contrib/sites/admin.py b/django/contrib/sites/admin.py index 2442c24..683851e 100644
a b from django.contrib.sites.models import Site 3 3 4 4 5 5 class SiteAdmin(admin.ModelAdmin): 6 list_display = ('domain', 'name' )6 list_display = ('domain', 'name', 'id') 7 7 search_fields = ('domain', 'name') 8 8 9 admin.site.register(Site, SiteAdmin) 10 No newline at end of file 9 admin.site.register(Site, SiteAdmin)