For some reason my Database isn't adding the ON DELETE CASCADE
class Settings(models.Model):
user = models.OneToOneField(
User,
on_delete = models.CASCADE
)
If I delete a User its corresponding settings does not get deleted.
I checked the DDL for that table and it doesn't say ON DELETE CASCADE, using MySQL btw