add migrations

This commit is contained in:
Dmitriy Kuzmenko 2019-11-03 16:45:22 +03:00
parent 2e273e596d
commit 689dca4ea1
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 2.2.4 on 2019-11-03 13:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0028_auto_20191103_1237'),
]
operations = [
migrations.AlterField(
model_name='currency',
name='sign',
field=models.CharField(max_length=5, verbose_name='sign'),
),
]

View File

@ -24,7 +24,7 @@ class Currency(TranslatedFieldsMixin, models.Model):
name = TJSONField( name = TJSONField(
_('name'), null=True, blank=True, _('name'), null=True, blank=True,
default=None, help_text='{"en-GB":"some text"}') default=None, help_text='{"en-GB":"some text"}')
sign = models.CharField(_('sign'), max_length=3) sign = models.CharField(_('sign'), max_length=5)
slug = models.SlugField(max_length=255, unique=True) slug = models.SlugField(max_length=255, unique=True)
class Meta: class Meta: