17👍
✅
From the docs:
on_delete
doesn’t create a SQL constraint in the database. Support for
database-level cascade options may be implemented later
It will perform the cascade in Django itself, so if you delete a Tenant
object using Django delete()
your Subscriber
object will also be deleted. But not if you do it in SQL.
Source:stackexchange.com