summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-01-06 19:00:07 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-01-06 19:00:07 (GMT)
commit8c50b529e7f14096d5efb92553dedbdf27bd74d7 (patch)
tree882ac0fcc2d54e717e18cd248d86cd6d4f50fc9e
parent54611a97d636238e9bba65e6d96690ac1446de09 (diff)
added is_active model field
-rw-r--r--program/migrations/0003_host_is_active.py19
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),
+ ),
+ ]