You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
997 B
29 lines
997 B
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('store', '0005_auto_20150511_1617'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='product',
|
|
name='in_stock',
|
|
field=models.IntegerField(default=1, verbose_name='В наличии (шт.)'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='product',
|
|
name='price',
|
|
field=models.IntegerField(default=0, verbose_name='Цена (тенге)'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='attributeforcategory',
|
|
name='field_type',
|
|
field=models.CharField(max_length=10, default='char', choices=[('char', 'Строка'), ('int', 'Целое число'), ('decimal', 'Дробное число'), ('select', 'Список')], verbose_name='Тип атрибута'),
|
|
),
|
|
]
|
|
|