Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
6bcd8b37
Commit
6bcd8b37
authored
May 26, 2021
by
Matheus Miranda
Browse files
Add delete cascado for course certification
parent
91f0df80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
courses/certification/models.py
courses/certification/models.py
+1
-1
No files found.
courses/certification/models.py
View file @
6bcd8b37
...
@@ -23,7 +23,7 @@ class CourseCertification(models.Model):
...
@@ -23,7 +23,7 @@ class CourseCertification(models.Model):
)
)
course_student
=
models
.
OneToOneField
(
course_student
=
models
.
OneToOneField
(
CourseStudent
,
CourseStudent
,
models
.
PROTECT
,
models
.
CASCADE
,
verbose_name
=
_
(
'Enrollment'
),
verbose_name
=
_
(
'Enrollment'
),
related_name
=
'certificate'
,
related_name
=
'certificate'
,
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment