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
e233fb73
Commit
e233fb73
authored
Feb 05, 2021
by
Matheus Miranda
Browse files
Allow blank values for home_position
parent
e95c4f16
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
courses/migrations/.0018_auto_20210202_1655.py.swp
courses/migrations/.0018_auto_20210202_1655.py.swp
+0
-0
courses/migrations/0020_auto_20210205_1703.py
courses/migrations/0020_auto_20210205_1703.py
+18
-0
courses/models.py
courses/models.py
+1
-0
No files found.
courses/migrations/.0018_auto_20210202_1655.py.swp
deleted
100644 → 0
View file @
e95c4f16
File deleted
courses/migrations/0020_auto_20210205_1703.py
0 → 100644
View file @
e233fb73
# Generated by Django 2.2.17 on 2021-02-05 20:03
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'courses'
,
'0019_coursetrack'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'coursetrack'
,
name
=
'home_position'
,
field
=
models
.
IntegerField
(
blank
=
True
,
null
=
True
),
),
]
courses/models.py
View file @
e233fb73
...
...
@@ -349,6 +349,7 @@ class CourseTrack(models.Model):
)
home_position
=
models
.
IntegerField
(
null
=
True
,
blank
=
True
,
)
class
Meta
:
...
...
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