add migrations
This commit is contained in:
parent
2e273e596d
commit
689dca4ea1
18
apps/main/migrations/0029_auto_20191103_1344.py
Normal file
18
apps/main/migrations/0029_auto_20191103_1344.py
Normal 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'),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user