How can I update many_to_many fields with the bulk_update method in Django?
Code:
get_user_model().objects.using('default').bulk_update(
User.objects.using('default').all(), ('password','groups')
)
Error:
{ValueError}bulk_update() can only be used with concrete fields.