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
29730d53
Commit
29730d53
authored
May 26, 2021
by
Matheus Miranda
Browse files
Alter coursestudent key
parent
6bcd8b37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
courses/certification/migrations/0007_auto_20210526_1217.py
courses/certification/migrations/0007_auto_20210526_1217.py
+19
-0
No files found.
courses/certification/migrations/0007_auto_20210526_1217.py
0 → 100644
View file @
29730d53
# Generated by Django 2.2.23 on 2021-05-26 15:17
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'certification'
,
'0006_auto_20210520_1724'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'coursecertification'
,
name
=
'course_student'
,
field
=
models
.
OneToOneField
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'certificate'
,
to
=
'courses.CourseStudent'
,
verbose_name
=
'Enrollment'
),
),
]
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