change
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api', '0012_typemodel_filials'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='typemodel',
|
||||
name='percent',
|
||||
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=5, verbose_name='percent'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productsmodel',
|
||||
name='order',
|
||||
field=models.PositiveIntegerField(default=0, verbose_name='order'),
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='productsmodel',
|
||||
options={
|
||||
'ordering': ['order'],
|
||||
'verbose_name': 'ProductsModel',
|
||||
'verbose_name_plural': 'ProductsModels',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user