Completed field on Item should default to False
This commit is contained in:
parent
be9a87fc0f
commit
cc1a48ee6f
2 changed files with 23 additions and 1 deletions
22
todo/migrations/0005_auto_20180212_2325.py
Normal file
22
todo/migrations/0005_auto_20180212_2325.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 2.0.2 on 2018-02-12 23:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('todo', '0004_rename_list_tasklist'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='tasklist',
|
||||
options={'ordering': ['name'], 'verbose_name_plural': 'Task Lists'},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='item',
|
||||
name='completed',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue