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 27833,prefetch_related fails with SQLite when used with 1000 parent records,Jason Barnabe,Yashas Donthi,"This is described in ticket:16937#comment:3, but I don't see any issue filed for it. ""[prefetch_related] will not work on some backends if you have a lot of objects in your queryset. For example the SQLite backend has a limitation of 999 parameters to single SQL query, so if you have 1000 objects, prefetch_related will fail as you need to supply 1000 id values to the query.""' Batch it up like in #16426 and #17788, which dealt with the same limitation?",Bug,assigned,"Database layer (models, ORM)",1.10,Normal,,,,Accepted,1,0,0,1,0,0