# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('content_manage', '0005_banner'), ] operations = [ migrations.CreateModel( name='News', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('title', models.CharField(help_text='\u4e0d\u8d85\u8fc764\u4e2a\u5b57', max_length=128, verbose_name='\u6587\u7ae0\u6807\u9898')), ('img_url', models.URLField(default=b'', null=True, verbose_name='\u56fe\u7247url')), ('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)), ], ), ]