# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-08-18 07:45
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('auth', '0008_alter_user_username_max_length'),
        ('ERP', '0030_auto_20170816_1559'),
    ]

    operations = [
        migrations.RenameField(
            model_name='modelgridcol',
            old_name='recid',
            new_name='id',
        ),
        migrations.RenameField(
            model_name='modelgridtoolbarbutton',
            old_name='caption',
            new_name='b_caption',
        ),
        migrations.RemoveField(
            model_name='modelgridtoolbarbutton',
            name='icon',
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='b_html',
            field=models.TextField(blank=True, default=None, null=True, verbose_name='HTML'),
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='b_id',
            field=models.CharField(default='', max_length=100, null=True, verbose_name='\u7ec4\u4ef6ID'),
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='b_img',
            field=models.CharField(choices=[('icon-page', '\u9875\u9762'), ('icon-save', '\u4fdd\u5b58'), ('icon-folder', '\u6587\u4ef6\u5939'), ('icon-folder', '\u6dfb\u52a0')], default='icon-page', max_length=100, verbose_name='\u56fe\u6807'),
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='b_type',
            field=models.CharField(choices=[('break', '\u5206\u6bb5'), ('button', '\u6309\u94ae'), ('html', 'HTML')], default='button', max_length=100, verbose_name='\u7c7b\u578b'),
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='model_type',
            field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType', verbose_name='\u6a21\u5757'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='permission',
            field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='auth.Permission', verbose_name='\u6743\u9650'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='modelgridtoolbarbutton',
            name='priority',
            field=models.IntegerField(default=None, verbose_name='\u4f18\u5148\u987a\u5e8f'),
            preserve_default=False,
        ),
    ]
