RE: File handling in Django

2025-01-30 Thread Johannes Grib
Hi, When changing the model, you will need to migrate. Rather update the past_date field with the newdate etc.. Johannes From: django-users@googlegroups.com On Behalf Of Mayank Prajapati Sent: Wednesday, January 29, 2025 12:34 PM To: django-users@googlegroups.com Subject: Re: File

Django - migrations stops -> ObjectInUse: cannot ALTER TABLE "xxx" because it has pending trigger events

2025-01-30 Thread Adam Jurkiewicz
Hi, I have a project, which works on server for some time, but: I need to develop it, so I want to run in docker locally. That is easy. But i cannot just copy DB from production, because it contains sensitive informations. OK, I just deleted DB and want to start app. Migrations should work ever