add migrations
This commit is contained in:
parent
02e45593ce
commit
c50cd7c693
18
apps/main/migrations/0030_auto_20191103_1350.py
Normal file
18
apps/main/migrations/0030_auto_20191103_1350.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.4 on 2019-11-03 13:50
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0029_auto_20191103_1344'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='currency',
|
||||
name='sign',
|
||||
field=models.CharField(max_length=255, verbose_name='sign'),
|
||||
),
|
||||
]
|
||||
|
|
@ -24,7 +24,7 @@ class Currency(TranslatedFieldsMixin, models.Model):
|
|||
name = TJSONField(
|
||||
_('name'), null=True, blank=True,
|
||||
default=None, help_text='{"en-GB":"some text"}')
|
||||
sign = models.CharField(_('sign'), max_length=5)
|
||||
sign = models.CharField(_('sign'), max_length=255)
|
||||
slug = models.SlugField(max_length=255, unique=True)
|
||||
|
||||
class Meta:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user