Added support for Database Level Cascades

2023-05-13 Thread Akash Sen
*Added support for Database Level Cascades* *PR link *: https://github.com/django/django/pull/16851 *Ref discussion : * https://groups.google.com/g/django-developers/c/Sxj7eS7-8SQ/m/jaM1rPbZEQAJ *Approach :* The on_delete argument for ForeignKey class now supports an extra option DB_CASCADE thi

Re: Added support for Database Level Cascades

2023-05-13 Thread Harro
I have just one question, will this still trigger on delete signals for cascaded models? That's the main reason the cascade happens in Django and not in the database. On Saturday, 13 May 2023 at 16:35:01 UTC+2 Akash Sen wrote: > *Added support for Database Level Cascades* > > *PR link *: https: