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
87d47208
Commit
87d47208
authored
Jul 26, 2021
by
Matheus Miranda
Browse files
Update videofile key on model
parent
97d0b332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
courses/migrations/0031_auto_20210726_1523.py
courses/migrations/0031_auto_20210726_1523.py
+19
-0
No files found.
courses/migrations/0031_auto_20210726_1523.py
0 → 100644
View file @
87d47208
# Generated by Django 2.2.24 on 2021-07-26 18:23
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'courses'
,
'0030_videofile'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'videofile'
,
name
=
'video'
,
field
=
models
.
OneToOneField
(
blank
=
True
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'file'
,
to
=
'courses.Video'
,
verbose_name
=
'file'
),
),
]
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