diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:00:25 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2016-01-06 19:00:25 (GMT) |
commit | b8d4c16285aa294846c7b9066ed3bb9293802f06 (patch) | |
tree | 757ab1979d7b4e553ecb1693d81e98484317f441 /program/migrations | |
parent | 8c50b529e7f14096d5efb92553dedbdf27bd74d7 (diff) |
added is_active model field
Diffstat (limited to 'program/migrations')
-rw-r--r-- | program/migrations/0004_show_is_active.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/program/migrations/0004_show_is_active.py b/program/migrations/0004_show_is_active.py new file mode 100644 index 0000000..26e3205 --- /dev/null +++ b/program/migrations/0004_show_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', '0003_host_is_active'), + ] + + operations = [ + migrations.AddField( + model_name='show', + name='is_active', + field=models.BooleanField(default=True, verbose_name='Is active', editable=False), + ), + ] |