summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/migrations/0001_initial.py1
-rw-r--r--ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py19
-rw-r--r--ishtar_common/models.py2
3 files changed, 2 insertions, 20 deletions
diff --git a/ishtar_common/migrations/0001_initial.py b/ishtar_common/migrations/0001_initial.py
index cbb9cc659..a8d3c4a7d 100644
--- a/ishtar_common/migrations/0001_initial.py
+++ b/ishtar_common/migrations/0001_initial.py
@@ -356,6 +356,7 @@ class Migration(migrations.Migration):
('context_record', models.BooleanField(default=False, verbose_name='Context records module')),
('context_record_color', models.CharField(default=b'rgba(210,200,0,0.2)', max_length=200, verbose_name='CSS color code for context record module')),
('find', models.BooleanField(default=False, help_text='Need context records module', verbose_name='Finds module')),
+ ('find_index', models.CharField(default=b'O', help_text='To prevent irrelevant indexes, change this parameter only if there is no find in the database', max_length=2, verbose_name='Find index is based on', choices=[('O', 'Operations'), ('CR', 'Context records')])),
('find_color', models.CharField(default=b'rgba(210,0,0,0.15)', max_length=200, verbose_name='CSS color code for find module')),
('warehouse', models.BooleanField(default=False, help_text='Need finds module', verbose_name='Warehouses module')),
('warehouse_color', models.CharField(default=b'rgba(10,20,200,0.15)', max_length=200, verbose_name='CSS code for warehouse module')),
diff --git a/ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py b/ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py
deleted file mode 100644
index bea213eae..000000000
--- a/ishtar_common/migrations/0004_ishtarsiteprofile_find_index.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
-from django.db import models, migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('ishtar_common', '0003_auto_20170421_1613'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='ishtarsiteprofile',
- name='find_index',
- field=models.CharField(default=b'O', help_text='To prevent irrlevant indexes, change this parameter only if there is no find in the database', max_length=2, verbose_name='Find index is based on', choices=[('O', 'Operations'), ('CR', 'Context records')]),
- ),
- ]
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 445141bc2..775bff363 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1195,7 +1195,7 @@ class IshtarSiteProfile(models.Model, Cached):
find_index = models.CharField(
_(u"Find index is based on"), default='O', max_length=2,
choices=FIND_INDEX_SOURCE,
- help_text=_(u"To prevent irrlevant indexes, change this parameter "
+ help_text=_(u"To prevent irrelevant indexes, change this parameter "
u"only if there is no find in the database"))
find_color = models.CharField(
_(u"CSS color code for find module"),