python - Display search and list filter in Mezzanine Pages admin interface -


is there simple way display search , list filters in mezzanine's admin interface pages?

i tried putting following in application's admin.py, search , filters don't appear in admin interface:

from django.contrib import admin mezzanine.pages.models import page, richtextpage mezzanine.pages.admin import pageadmin  admin.site.unregister(page)  class custompageadmin(pageadmin):     save_on_top = true     list_display = ('title', 'publish_date', 'status')     list_filter = ('title', 'publish_date', 'status')     search_fields = ('title', 'content')  admin.site.register(page, custompageadmin) 


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -