# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('content_manage', '0004_auto_20171116_1253'), ] operations = [ migrations.CreateModel( name='Banner', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('position', models.IntegerField(default=1, verbose_name='\u6a2a\u5e45\u4f4d\u7f6e')), ('img_url', models.URLField(default=b'', null=True, verbose_name='\u56fe\u7247url')), ('display_title', models.CharField(help_text='\u4e0d\u8d85\u8fc764\u4e2a\u5b57', max_length=128, verbose_name='\u5c55\u793a\u6807\u9898')), ('article_url', models.URLField(default=b'', null=True, verbose_name='\u6587\u7ae0url')), ('article_title', models.CharField(help_text='\u4e0d\u8d85\u8fc764\u4e2a\u5b57', max_length=128, verbose_name='\u6587\u7ae0\u6807\u9898')), ('author', models.CharField(default=b'', max_length=32, null=True, verbose_name='\u6587\u7ae0\u4f5c\u8005', blank=True)), ('content', models.TextField(default=b'', null=True, verbose_name='\u6587\u7ae0\u5185\u5bb9', blank=True)), ('create_time', models.DateField(auto_now_add=True)), ], ), ]