I guess an optional kwarg would be okay then.
On Thu, 2 Jan 2020 at 03:08, Javier Buzzi wrote:
> @adam I agree with your points, about data loss, but this can still see
> this as being beneficial, perhaps the approach was just too harsh. Perhaps
> adding a flag in the management command would ge
Thanks for the revert, I completely agree with both of your explanations.
Thanks
Anudeep Samaiya
> On 02-Jan-2020, at 21:51, charettes wrote:
>
> Hey there!
>
> The current code assumes that .get() will likely match one result which
> should be the case
> most of the time and limit the number
Hey there!
The current code assumes that .get() will likely match one result which
should be the case
most of the time and limit the number of possible results to prevent
catastrophic matches
Your patch has the side effect of performing an additional COUNT query for
every single
QuerySet.get()
Hi Anudeep
Your change makes get() perform an extra query for count() before it . This
would be a regression for most uses of get().
get() is not intended for use "when multiple objects exists in very big
numbers". You may want to perform a single query, something like
Model.objects.filter(id__in
Hi everyone,
Happy New Year!!
Ok so I found that Querset.get() is very slow for large datasets when
multiple objects exists in very big numbers. I did following changes in my
local copy of django code and it improved the performance for very large
data sets significantly (like in a blink of se
Hi Aaryan,
Happy New Year! Thanks for your interest, and your comment on my
presentation :)
I will write up the project ideas shortly, and try to give some guidance,
but I imaging the "secrets abstraction" idea wouldn't be too hard: look at,
say, Vault, and the AWS offering, what are the comm
Hi all.
Calendar Week 51 -- ending 22 December.
Triaged:
https://code.djangoproject.com/ticket/31103 -- Pagination documentation is
missing some important detail (Accepted)
https://code.djangoproject.com/ticket/31102 -- Bug: Saving on a ModelAdmin
with TabularInlines sometimes duplicates ro