select_for_update Documentation is confusing(?)

2019-02-15 Thread Philoj Johny
In the documentation for select_for_update , given code example is: from django.db import transaction entries = Entry.objects.select_for_update().filter(author=request.user)with transaction.atomic(): for entry in en

Re: select_for_update Documentation is confusing(?)

2019-03-02 Thread Philoj Johny
tation clearly mentions "*Evaluating* a queryset" and >> "Building a queryset" >> I don't think it's worth amending it. >> >> Cheers, >> Simon >> >> Le vendredi 15 février 2019 07:40:51 UTC-5, Philoj Johny a écrit : >>> >>