summaryrefslogtreecommitdiff
path: root/chimere/migrations/0007_auto_20170910_1109.py
blob: a5ccc562979cb00e88d55e55ec97762127ee929f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('chimere', '0006_auto_20170724_0115'),
    ]

    operations = [
        migrations.AddField(
            model_name='category',
            name='color',
            field=models.CharField(help_text='HTML code/name', verbose_name='Color code/name', max_length=200, blank=True, null=True),
        ),
        migrations.AlterField(
            model_name='subcategory',
            name='simplify_tolerance',
            field=models.FloatField(help_text='Only relevant when Minimum zoom is set. Use the Douglas-Peucker algorythm to simplify the geometry when details is not alvailable. Adjust to your data volume and your performance need. 0.0003 is a good starting point. Note: topology is not preserved.', verbose_name='Simplify tolerance for lower zoom', blank=True, null=True),
        ),
    ]