﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28692	QuerySet.bulk_create() combine with select/prefetch_related()	Дилян Палаузов	nobody	"When several objects are created with Models.objects.bulk_create() the called might want to prefetch/JOIN some related models to the new objects, so that additional SELECTs are avoided.

{{{
for m in ModelA.objects.select_related('b').bulk_create([ModelA(...), ModelA(...), ModelA(...)]):
  print(m.b.description) # this line shall now cause a new SELECT on each iteration
}}}"	Cleanup/optimization	closed	Database layer (models, ORM)	1.11	Normal	wontfix	bulk_create select_related prefetch_related		Accepted	0	0	0	0	0	0
