Explicit is better than implicit
authorEriol
Sat, 24 Nov 2012 16:13:38 +0100
changeset 6116266b3be654
parent 60 d8610995e872
child 62 3fd792a3f54b
Explicit is better than implicit
microcms/admin.py
     1.1 --- a/microcms/admin.py	Sat Nov 24 15:55:37 2012 +0100
     1.2 +++ b/microcms/admin.py	Sat Nov 24 16:13:38 2012 +0100
     1.3 @@ -31,9 +31,8 @@
     1.4      list_display = ('url', 'title', 'pub_date', 'modified_date',
     1.5                      'enable_comments', 'author')
     1.6      list_display_links = ('url', 'title')
     1.7 -    list_filter = FlatPageAdmin.list_filter + ('author',
     1.8 -                                               'pub_date',
     1.9 -                                               'modified_date')
    1.10 +    list_filter = ('sites', 'enable_comments', 'registration_required',
    1.11 +                   'author', 'pub_date', 'modified_date')
    1.12      fieldsets = (
    1.13          (None, {'fields': ('url', 'title', 'content')}),
    1.14          (_('Extra'),