s/stuffedareas/areas/
This commit is contained in:
parent
b7f5f359a5
commit
84b826e261
2 changed files with 22 additions and 1 deletions
21
src/c3nav/mapdata/migrations/0069_auto_20170510_1329.py
Normal file
21
src/c3nav/mapdata/migrations/0069_auto_20170510_1329.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.7 on 2017-05-10 13:29
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('mapdata', '0068_area_stuffed'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='area',
|
||||||
|
name='space',
|
||||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='areas', to='mapdata.Space', verbose_name='space'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -33,7 +33,7 @@ class Area(SpaceGeometryMixin, models.Model):
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = _('Area')
|
verbose_name = _('Area')
|
||||||
verbose_name_plural = _('Areas')
|
verbose_name_plural = _('Areas')
|
||||||
default_related_name = 'stuffedareas'
|
default_related_name = 'areas'
|
||||||
|
|
||||||
|
|
||||||
class Stair(SpaceGeometryMixin, models.Model):
|
class Stair(SpaceGeometryMixin, models.Model):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue