Re: Model creation in autocommit mode.

2018-09-26 Thread Florian Apolloner
Jupp, that ticket at least shows that I am not the first one to stumble onto this :) Baring no objections I will at least try to fix it for the "easy" cases; seems like an easy win. On Wednesday, September 26, 2018 at 9:54:05 PM UTC+2, Tim Graham wrote: > > https://code.djangoproject.com/ticket/

Re: Model creation in autocommit mode.

2018-09-26 Thread Tim Graham
https://code.djangoproject.com/ticket/21171 looks like it should help. On Wednesday, September 26, 2018 at 2:56:34 PM UTC-4, Florian Apolloner wrote: > > Hi there, > > a fun issue came up on IRC today: Even when in autocommit mode, Django > starts a transaction when doing Model.objects.create (