django/django/contrib/auth/management/__init__.py", line 83, in create_permissions
Permission.objects.using(using).bulk_create(perms)
950 query params is the max number for our backend, and we set the DatabaseFeatures.max_query_params to 900. Still, it looks like Django doesn't care.
Because of this all of our tests stopped working, bringing a lot of inconveniences during development. Seems to me that it should be fixed on Django side, centralized, 'cause it's unlikely we're the only who met and will meet the problem in future.