Description:
When I try to open the Employe model in Django admin using Jazzmin, I get the following error:
Exception Type: TypeError
Exception Value: args or kwargs must be provided
26 {% jazzmin_paginator_number cl i %}
Environment:
Django version: 6.0
django-jazzmin version: 3.0.1
Python version: 3.13
Browser: Edge
Steps to reproduce:
Install Django 6.0 and Jazzmin 3.0.1.
Register a model in admin (e.g., Employe). and insert enough data for the pagination
Open the model list page in the admin.
Expected behavior:
Pagination should work without errors.
Actual behavior:
The page raises a TypeError in the template:
{% jazzmin_paginator_number cl i %}
Additional context:
my project works fine on django 5.2
The error seems to be related to Django 6 changes in URL reversal for pagination.
Suggested fix:
Update the pagination template and/or tag to be compatible with Django 6.