diff --git a/django/contrib/flatpages/models.py b/django/contrib/flatpages/models.py index 190ffbd8b3..ddd5678379 100644 --- a/django/contrib/flatpages/models.py +++ b/django/contrib/flatpages/models.py @@ -26,7 +26,8 @@ class FlatPage(models.Model): (None, {'fields': ('url', 'title', 'content', 'sites')}), (_('Advanced options'), {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}), ) - list_filter = ('sites',) + list_display = ('url', 'title') + list_filter = ('sites', 'enable_comments', 'registration_required') search_fields = ('url', 'title') def __unicode__(self): diff --git a/django/contrib/redirects/models.py b/django/contrib/redirects/models.py index ac2e8d5bac..1720f33466 100644 --- a/django/contrib/redirects/models.py +++ b/django/contrib/redirects/models.py @@ -17,6 +17,7 @@ class Redirect(models.Model): ordering = ('old_path',) class Admin: + list_display = ('old_path', 'new_path') list_filter = ('site',) search_fields = ('old_path', 'new_path')