Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASCADE not working with Generic Relations. #90

Open
codehia opened this issue Aug 18, 2022 · 1 comment
Open

CASCADE not working with Generic Relations. #90

codehia opened this issue Aug 18, 2022 · 1 comment

Comments

@codehia
Copy link

codehia commented Aug 18, 2022

As described in Django documentation, the GenericForeignKey should have CASCADE as default if a GenericRelation exists. After using SoftDeleteObject in both the models the CASCADING does not happen on deletion. Is there a way to achieve this?

@belek
Copy link

belek commented Oct 17, 2022

Got the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants