Adding a script positional argument to dbshell

2022-07-05 Thread dans...@gmail.com
In Adam's blog post https://adamj.eu/tech/2022/06/29/run-a-django-migration-by-hand/, he shows a pattern I've used in the past. Would it be useful to support passing an optional positional argument to dbshell that is then passed to the dbshell program appropriately? e.g., with @filename fo

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
always set the timezone, but I want to discuss before filing an issue. On Monday, January 31, 2022 at 5:24:46 PM UTC-5 dans...@gmail.com wrote: > Hi Django developers, > > At the National Library of Medicine we are doing a lot of Django and AWS. > For some of the applications with hea

Re: AWS RDS Proxy and session pinning

2022-02-02 Thread dans...@gmail.com
ppropriate logic. > > That may be all that's required. It would be good to know if that works > before considering changing Django. > > Thanks, > > Adam > > On Mon, Jan 31, 2022 at 10:30 PM dans...@gmail.com > wrote: > >> Sorry - lest I miscommu

Newer constraint declarations and Foreign Keys

2022-03-07 Thread dans...@gmail.com
Hi guys, I remember that there is a new way to declare constraints in class Meta on a model, and that this is preferable for unique_together constraints. I've long wanted a way with Django to have database foreign key constraints cascade in the database rather than via Django. Is there now a