Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606821886-practice
Commits
9cee4ff7
Commit
9cee4ff7
authored
Sep 24, 2019
by
farah alhaniy
Browse files
Commit migrations files
parent
dfc3328f
Changes
2
Hide whitespace changes
Inline
Side-by-side
lists/migrations/0001_initial.py
0 → 100644
View file @
9cee4ff7
# Generated by Django 2.1.1 on 2019-09-23 14:11
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Item'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
],
),
]
lists/migrations/0002_item_text.py
0 → 100644
View file @
9cee4ff7
# Generated by Django 2.1.1 on 2019-09-23 14:14
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'lists'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'item'
,
name
=
'text'
,
field
=
models
.
TextField
(
default
=
''
),
),
]
Write
Preview
Supports
Markdown
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