Commit 6bcd8b37 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Add delete cascado for course certification

parent 91f0df80
......@@ -23,7 +23,7 @@ class CourseCertification(models.Model):
)
course_student = models.OneToOneField(
CourseStudent,
models.PROTECT,
models.CASCADE,
verbose_name=_('Enrollment'),
related_name='certificate',
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment