Does anyone have some example code to achieve pagination to display a model 
with many records in Admin, please?

 

admin.py – 

 

class CurrencyAdmin(admin.ModelAdmin):

    paginate_by=10

    list_display = ('id', 'currency_Code', 'currency_Description')

    fieldsets = (

        (None, {'fields':('currency_Code', 'currency_Description')}),

    )

 

Much obliged,

 

Bruckner de Villiers

083 625 1086

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/09547993-6AD3-4118-8F06-9A85193E3A4C%40gmail.com.

Reply via email to