Re: Proposal on how add configuration options to Email Backends

2022-01-31 Thread Jacob Rief
On Monday, January 31, 2022 at 7:55:47 AM UTC+1 f.apo...@gmail.com wrote: > Okay then, > > some of the things like sender reputation and different bounce hooks came > to my mind as well, but it is good to hear confirmation from others. I > think the next steps would be to create a new ticket to

AWS RDS Proxy and session pinning

2022-01-31 Thread dans...@gmail.com
Hi Django developers, At the National Library of Medicine we are doing a lot of Django and AWS. For some of the applications with heavier traffic, we are using RDS Proxy within AWS. RDS Proxy is sort of like a managed version of pgbouncer or pg-pool-II - it must be rather AWS customized becau

Re: AWS RDS Proxy and session pinning

2022-01-31 Thread dans...@gmail.com
Sorry - lest I miscommunicate - the DBAs make the default equivalent to EST5EDT, rather than UTC. Django team leads (me and David), want USE_TZ = True to be on for all the applications, and because of this the postgresql backend will issue SET TIMEZONE UTC in django/db/backends/postgreql/base

Re: AWS RDS Proxy and session pinning

2022-01-31 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! Good to hear about the use of RDS Proxy. I have considered looking at it to help scaling. You should be able to bypass the timezone check yourself with a little subclassing. You can implement this yourself with a subclassed database backend like so: https://docs.djangoproject.com/en/4.0/ref/d

Re: DATABASES setting for async usage

2022-01-31 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi Andrew, I'm afraid I don't know much about async, but I can point you at some recent changes. Andrew Godwin created a PR with the draft of the async ORM API. Carlton recently asked for tests: https://twitter.com/carltongibson/status/1486281689265545221 . Perhaps check out those PR's and see if

Re: DATABASES setting for async usage

2022-01-31 Thread Andrew Wang
I'm thinking that for our purposes: 1. Because several Django projects need a migration from sync to async which requires time and resources, sync engines can specify a new key called ASYNC_DATABASE_ALIAS whose value is a string that is a database alias in the DATABASES dict. The

Django security releases issued: 4.0.2, 3.2.12, and 2.2.27

2022-01-31 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/feb/01/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and st