From fdd6433af595e584b9c5d556eebd7d898629e169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 5 Jul 2016 23:55:05 +0200 Subject: [PATCH] Call "open" "private" instead. --- .../migrations/0002_auto_20160705_2154.py | 24 +++++++++++++++++++ villages/models.py | 6 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 villages/migrations/0002_auto_20160705_2154.py diff --git a/villages/migrations/0002_auto_20160705_2154.py b/villages/migrations/0002_auto_20160705_2154.py new file mode 100644 index 00000000..020819be --- /dev/null +++ b/villages/migrations/0002_auto_20160705_2154.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.6 on 2016-07-05 21:54 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('villages', '0001_initial'), + ] + + operations = [ + migrations.RemoveField( + model_name='village', + name='open', + ), + migrations.AddField( + model_name='village', + name='private', + field=models.BooleanField(default=True, help_text='Check if your village is privately organized'), + ), + ] diff --git a/villages/models.py b/villages/models.py index d57c9eb7..ed3e1db4 100644 --- a/villages/models.py +++ b/villages/models.py @@ -20,9 +20,9 @@ class Village(CreatedUpdatedModel, UUIDModel): slug = models.SlugField(max_length=255, blank=True) description = models.TextField() - open = models.BooleanField( - default=False, - help_text='Is this village open for others to join?' + private = models.BooleanField( + default=True, + help_text='Check if your village is privately organized' ) def __str__(self):