1234567891011121314151617181920212223 |
- # -*- coding: utf-8 -*-
- from __future__ import unicode_literals
- from django.db import models, migrations
- class Migration(migrations.Migration):
- dependencies = [
- ]
- operations = [
- migrations.CreateModel(
- name='Article',
- 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'', verbose_name='\u56fe\u7247url')),
- ('content', models.TextField(verbose_name='\u6587\u7ae0\u5185\u5bb9', choices=[(0, '\u7b80\u4ecb'), (1, '\u4e3b\u7f16\u81f4\u8f9e'), (2, '\u7f16\u59d4\u6210\u5458'), (3, '\u6295\u7a3f\u6307\u5357'), (4, '\u9009\u9898\u6307\u5357'), (5, '\u5e74\u5ea6\u6307\u5357')])),
- ],
- ),
- ]
|