Call "open" "private" instead.
This commit is contained in:
parent
94e6ccc101
commit
fdd6433af5
24
villages/migrations/0002_auto_20160705_2154.py
Normal file
24
villages/migrations/0002_auto_20160705_2154.py
Normal file
|
@ -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'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -20,9 +20,9 @@ class Village(CreatedUpdatedModel, UUIDModel):
|
||||||
slug = models.SlugField(max_length=255, blank=True)
|
slug = models.SlugField(max_length=255, blank=True)
|
||||||
description = models.TextField()
|
description = models.TextField()
|
||||||
|
|
||||||
open = models.BooleanField(
|
private = models.BooleanField(
|
||||||
default=False,
|
default=True,
|
||||||
help_text='Is this village open for others to join?'
|
help_text='Check if your village is privately organized'
|
||||||
)
|
)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in a new issue