Grappelli 4.0.x is compatible with Django 5.0.
Update Django to 5.x and check the Django release notes
Update Grappelli to 4.x
Django Issues
Contributing