Skip to content

Improve POST queries handling

The use of list(chain(querysets)) is suboptimal. (because of a n+1 problem)

The use of union() would resolve this problem but there seems to be a bug in django.

See the related subject : https://forum.djangoproject.com/t/using-union-with-querysets-that-have-a-custom-prefetch-object/41638

Edited by Simon Panay
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information