summaryrefslogtreecommitdiff
path: root/chimere/migrations/0007_auto_20170910_1109.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-09-10 12:05:38 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-09-10 12:05:38 +0200
commit733763c12850445e53e7d6b805b2e49739659a84 (patch)
treea253cb7d2c9fa66bc30567d2f677dc62df022533 /chimere/migrations/0007_auto_20170910_1109.py
parentbe28f6b7aa3c92e5cee5f180f010534d518657fb (diff)
downloadChimère-v3.0.tar.bz2
Chimère-v3.0.zip
Color code for categoriesv3.0
Diffstat (limited to 'chimere/migrations/0007_auto_20170910_1109.py')
-rw-r--r--chimere/migrations/0007_auto_20170910_1109.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/chimere/migrations/0007_auto_20170910_1109.py b/chimere/migrations/0007_auto_20170910_1109.py
new file mode 100644
index 0000000..a5ccc56
--- /dev/null
+++ b/chimere/migrations/0007_auto_20170910_1109.py
@@ -0,0 +1,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),
+ ),
+ ]