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
889219b6
Commit
889219b6
authored
Jun 29, 2021
by
Matheus Miranda
Browse files
Create migration for language priority
parent
16aa4c96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
courses/migrations/0028_auto_20210629_1048.py
courses/migrations/0028_auto_20210629_1048.py
+19
-0
No files found.
courses/migrations/0028_auto_20210629_1048.py
0 → 100644
View file @
889219b6
# Generated by Django 2.2.24 on 2021-06-29 13:48
import
django.contrib.postgres.fields
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'courses'
,
'0027_auto_20210514_0809'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'course'
,
name
=
'lang'
,
field
=
django
.
contrib
.
postgres
.
fields
.
ArrayField
(
base_field
=
models
.
CharField
(
blank
=
True
,
choices
=
[(
'es'
,
'Spanish'
),
(
'pt-br'
,
'Portuguese'
),
(
'en'
,
'English'
)],
default
=
(
'es'
,
'Spanish'
),
max_length
=
64
),
blank
=
True
,
null
=
True
,
size
=
None
),
),
]
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