0

I'm setting up a django paginator in the Django Admin Site in order to display the elements 30by30 on the changelist. To do so, I'm using "list_per_page=30" on the DocumentAdmin.

It works fine on Firefox, but the paginator doesn't appear on Safari, either in iMac, iPad or iPhone... so I can only see the first 30 elements. However, it does appear when I reduce the amount of elements I want to display, for instance, 8. I have similar problems using Chrome.

Am I missing something? Any help is really welcome.

Thanks for your time.

class DocumentAdmin(ModelAdmin):
    change_list_filter_template = "admin/filter_listing.html"
    list_display = ('cover', 'name', 'printed', 'sent', 'opened', 'category', 'groups', 'related_docs')
    list_display_links = None
    search_fields = ('name', )
    list_filter = (GroupFilter, CategoryFilter, 'printed', 'sent', 'opened', )
    list_editable = ('sent', 'opened', 'order')

    list_per_page = 30
user3570418
  • 9
  • 1
  • 5

0 Answers0