Spaces are public by default
This commit is contained in:
parent
dd9ea849ff
commit
d1fe5bce5c
2 changed files with 21 additions and 1 deletions
20
src/c3nav/mapdata/migrations/0058_auto_20170506_1549.py
Normal file
20
src/c3nav/mapdata/migrations/0058_auto_20170506_1549.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-05-06 15:49
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('mapdata', '0057_auto_20170506_1534'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='space',
|
||||||
|
name='public',
|
||||||
|
field=models.BooleanField(default=True, verbose_name='public'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -60,7 +60,7 @@ class Space(LevelFeature):
|
||||||
('lowerr', _('lower')),
|
('lowerr', _('lower')),
|
||||||
)
|
)
|
||||||
|
|
||||||
public = models.BooleanField(verbose_name=_('public'))
|
public = models.BooleanField(verbose_name=_('public'), default=True)
|
||||||
category = models.CharField(verbose_name=_('category'), choices=CATEGORIES, max_length=16)
|
category = models.CharField(verbose_name=_('category'), choices=CATEGORIES, max_length=16)
|
||||||
layer = models.CharField(verbose_name=_('layer'), choices=LAYERS, max_length=16)
|
layer = models.CharField(verbose_name=_('layer'), choices=LAYERS, max_length=16)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue