diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:00:07 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:00:07 (GMT) |
commit | 8c50b529e7f14096d5efb92553dedbdf27bd74d7 (patch) | |
tree | 882ac0fcc2d54e717e18cd248d86cd6d4f50fc9e /program/migrations | |
parent | 54611a97d636238e9bba65e6d96690ac1446de09 (diff) |
added is_active model field
Diffstat (limited to 'program/migrations')
-rw-r--r-- | program/migrations/0003_host_is_active.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/program/migrations/0003_host_is_active.py b/program/migrations/0003_host_is_active.py new file mode 100644 index 0000000..28c1049 --- /dev/null +++ b/program/migrations/0003_host_is_active.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('program', '0002_host_is_always_visible'), + ] + + operations = [ + migrations.AddField( + model_name='host', + name='is_active', + field=models.BooleanField(default=True, verbose_name='Is active', editable=False), + ), + ] |