SSL Verification Problem on MacOS

2024-10-05 Thread Kiotseaeton Lancaster
SSL verification fails on django.core.mail.send_mail The problem isn't with application code, because the application operates properly on my Windows wsl environment with the same python, venv, openssl versions. The problem is with the Mac environment... Has someone come across a similar problem

Re: Postgres failure when trying to remove check constraint

2024-10-05 Thread Sam Brown
For this exact reason I always use `sqlmigrate` to get the auto generated sql statement (and the backwards sql) and put this statements in `forwards` and `backwards` functions. I then separate the db and state operations. I bet if you run `python manage.py sqlmigrate ` on the migrations that rem

Re: Postgres failure when trying to remove check constraint

2024-10-05 Thread Alan Evangelista
I found out the cause was that I recently removed the max_documents field in the Template model, Postgres automatically deletes a constraint when one of the related columns is deleted and Django does not realize it. I manually updated the Django migration that deleted the field to also deleted the

Re: SSL Verification Problem on MacOS

2024-10-05 Thread Kiotseaeton Lancaster
issue solved... modified SSL trust attribute on GTS Root 1 On Sat, Oct 5, 2024 at 6:10 PM Kiotseaeton Lancaster wrote: > SSL verification fails on django.core.mail.send_mail > > The problem isn't with application code, because the application operates > properly on my Windows wsl environment wit