Re: Proposal of standardize of reverse foreign key and m2m

2022-02-02 Thread Asif Saif Uddin
I get the following error while visiting the link Websites prove their identity via certificates, which are valid for a set time period. The certificate for code.djangoproject.com expired on 2/3/2022. Error code: SEC_ERROR_EXPIRED_CERTIFICATE On Thursday, February 3, 2022 at 2:17:33 AM UTC+

Re: AWS RDS Proxy and session pinning

2022-02-02 Thread dans...@gmail.com
We already do that - our backend has some other work to do since we use AWS Secrets Manager to store database passwords, and also the hostname, so that our settings.DATABASES does not contain the PASSWORD but must contain a SECRET_ID. The question is whether this is worth promoting since AWS RD

Deprecation of using pk in public ORM API

2022-02-02 Thread Albert
Hi Daryl,I agree and disagree with you, it depends on place and context of using "pk" alias :)I am not sure if it is good in filter and as object attribute. For our internal use we could use "_pk" or other name.You motivated me to check one thing.class Car(models.Model):    pk = models.IntegerF

Proposal of standardize of reverse foreign key and m2m

2022-02-02 Thread Albert
Hi, I am working on ticket https://code.djangoproject.com/ticket/19580 https://github.com/django/django/pull/15318 Currently (in the patch) unsaved object raises error when trying to use reverse foreign key or m2m relation. (Change in FK in patch) Other issue that is worth to consider is when s