fix model currency
This commit is contained in:
parent
858f64a26a
commit
359deeeb39
17
apps/location/migrations/0023_auto_20191112_0104.py
Normal file
17
apps/location/migrations/0023_auto_20191112_0104.py
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 2.2.4 on 2019-11-12 01:04
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('location', '0022_auto_20191111_0731'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='winesubregion',
|
||||||
|
options={'verbose_name': 'wine sub region', 'verbose_name_plural': 'wine sub regions'},
|
||||||
|
),
|
||||||
|
]
|
||||||
18
apps/main/migrations/0034_auto_20191112_0104.py
Normal file
18
apps/main/migrations/0034_auto_20191112_0104.py
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 2.2.4 on 2019-11-12 01:04
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('main', '0033_auto_20191106_0744'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='currency',
|
||||||
|
name='slug',
|
||||||
|
field=models.SlugField(max_length=255, unique=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -25,7 +25,7 @@ class Currency(TranslatedFieldsMixin, models.Model):
|
||||||
_('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=255)
|
sign = models.CharField(_('sign'), max_length=255)
|
||||||
slug = models.SlugField(max_length=5, unique=True)
|
slug = models.SlugField(max_length=255, unique=True)
|
||||||
code = models.CharField(max_length=5, unique=True, null=True, default=None)
|
code = models.CharField(max_length=5, unique=True, null=True, default=None)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
|
||||||
17
apps/tag/migrations/0010_auto_20191112_0104.py
Normal file
17
apps/tag/migrations/0010_auto_20191112_0104.py
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 2.2.4 on 2019-11-12 01:04
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('tag', '0009_auto_20191111_0731'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='chosentagsettings',
|
||||||
|
options={'verbose_name': 'Chosen tag', 'verbose_name_plural': 'Chosen tags'},
|
||||||
|
),
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue
Block a user