Delete source if rss widget gets deleted #38

Merged
hansegucker merged 1 commit from 9-delete-source-if-rss-widget-gets-deleted into master 2020-11-21 11:26:32 +01:00
Member

Closes #9

Closes #9
Owner

What happened to on_delete=models.CASCADE?

What happened to `on_delete=models.CASCADE`?
Author
Member

I have two models, Source and RSSWidget. If I delete either of them, both should get deleted, on_delete only works in one dircetion

I have two models, Source and RSSWidget. If I delete either of them, both should get deleted, on_delete only works in one dircetion
Owner

marked as a Work In Progress

marked as a **Work In Progress**
Author
Member

Note to myself: use an OneToOneField

Note to myself: use an OneToOneField
Author
Member

assigned to @leuckeju

assigned to @leuckeju
Author
Member

assigned to @hansegucker and unassigned @ZugBahnHof

assigned to @hansegucker and unassigned @ZugBahnHof
Owner

assigned to @nik and unassigned @hansegucker

assigned to @nik and unassigned @hansegucker
Owner

I think the solution is practicable. @nik Should I merge?

I think the solution is practicable. @nik Should I merge?
Owner

@ZugBahnHof Please test again if this is working.

@nik Please review then.

@ZugBahnHof Please test again if this is working. @nik Please review then.
Owner

unmarked as a Work In Progress

unmarked as a **Work In Progress**
Owner

mentioned in commit 98a31d6528

mentioned in commit 98a31d65286448fea9080872dfee2b338072e296
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-DashboardFeeds!38
No description provided.