Skip to content
Snippets Groups Projects
Commit 2fd35925 authored by Jillian Vogel's avatar Jillian Vogel
Browse files

Do not delete course enrollments

when the associated CourseOverview gets recreated.
parent f279e56b
No related branches found
No related tags found
No related merge requests found
......@@ -1162,7 +1162,7 @@ class CourseEnrollment(models.Model):
course = models.ForeignKey(
CourseOverview,
db_constraint=False,
on_delete=models.CASCADE,
on_delete=models.DO_NOTHING,
)
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment