Re: ManyToManyField not generating ON DELETE CASCADE clauses on (default) through table

2016-04-01 Thread Shai Berger
Hi Carlton, I'm sorry that your mail was left unanswered for so long. Generally, "is it a bug" questions are better suited to django-users than to this list. In particular, I believe this is not a bug: The behavior you see is Django's default way of defining foreign keys, and indeed, as you

ManyToManyField not generating ON DELETE CASCADE clauses on (default) through table

2016-03-15 Thread Carlton
I have a query concerning the lack of a ON DELETE CASCADE clause to the foreign key constraints generated for PostgreSQL (using Django 1.8.11) on the default through tables generated for ManyToManyField. I was unable to find any related issues (”ManyToMany cascade” Search Results – Django