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.
25 lines
927 B
25 lines
927 B
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
import django.contrib.postgres.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('main', '0002_auto_20150328_1422'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='attributeforcategory',
|
|
name='choises_array',
|
|
field=django.contrib.postgres.fields.ArrayField(size=None, blank=True, base_field=models.CharField(max_length=50, default='[]'), default=[]),
|
|
),
|
|
migrations.AddField(
|
|
model_name='attributeforcategory',
|
|
name='field_type',
|
|
field=models.CharField(max_length=10, verbose_name='Тип атрибута', choices=[('char', 'Строка'), ('int', 'Целое число'), ('double', 'Десятичное число'), ('select', 'Выбор')], default='char'),
|
|
),
|
|
]
|
|
|