I think this thread was abandoned, but wrongfully so. Frequency of
unrelated posts is increasing lately.
Are there any serious issues with the moderation queue Google provides?
Reminder: https://support.google.com/groups/answer/2466386?hl=en
LP,
Jure
On Saturday, 25 July 2020 at 00:58:26 UTC+
Hi Matthew,
I think you found the wrong mailing list for this question. Might I
suggest you try django-us...@googlegroups.com? The question seems better
suited there.
That said, I don't know why you wouldn't want to use foreign keys in
this scenario, but Django does support a thing called co
What you are describing sounds like denormalisation, but the first step
would be to ensure that the indexes on the child tables are being created.
The query time to find rows if the lookup field is indexed is close to
linear, without an index it will be close to exponential.
You should only denorm
Hello, I was wondering about instance based management. If I'm wrong,
please tell me.
When we have users and user generated content in a large database, query
times are increased significantly. Why is there no instance based manager
(like the models.Manager()) that basically generates a table
I think the scenario you're suggesting is just a little too complex for
update_or_create. It doesn't actually fetch the updated model instance .
You can instead write out what you want without too much extra code using
get_or_create, ensuring there's a transaction and select_for_update() to
lock th
Hi Julian
It should be noted that you can improve the display today by creating
explicit through models. However this is more longwinded.
This change does look like a neat usability improvement to me. It can also
help with debugging as the label appears in the default str/repr. My main
question i
Since update_or_create supports callables in the defaults dictionary, I'm
wondering if it's worth considering passing the existing instance (if one
is found) to those callables when resolving them.
The scenario I'm running into involves wanting to merge json data.
Basically, I have a JSON field
Hey there,
here’s a little topic that impacts the usability of Django admin’s delete
views.
When deleting an object using django admin, you get a nice summary of all
deleted objects.
I really like the overview, but the labels used to describe m2m relations
that will be deleted aren't user-fri
Hi,
I am not sure what you are trying to tell us?! Opening a connection to
Postgresql is somewhat time-consuming and 10ms in a cloud env does not seem
to be surprising at all.
Cheers,
Florian
On Monday, October 26, 2020 at 2:28:28 PM UTC+1 pra...@fampay.in wrote:
> https://groups.google.com/g
https://groups.google.com/g/django-developers/c/rH0QQP7tI6w/m/yBusiFTNBR4J
We are running django with gunicorn + gevent. We have set Max con age to 10
min. We use newrelic for monitoring.
Even though we have set it to use persistent connection it;s showing in new
relic that
On average it takes
10 matches
Mail list logo