What db are you using? This might also be an issue for your db connector lib On Monday, June 27, 2022 at 10:49:40 AM UTC-4 [email protected] wrote:
> Hi, all! > > Gotta problem with the number of query params. We're using a backend, > which connects to a cloud database, and at some point we suddenly started > getting such an error: > > *Number of parameters in query exceeds the maximum allowed limit of 950* > > Appearing on this step: > > > *django/django/contrib/auth/management/__init__.py", line 83, in > create_permissionsPermission.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. > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9c877978-70df-4452-b05d-63b98f551de3n%40googlegroups.com.

