0002_auto_20171116_1047.py 817 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('content_manage', '0001_initial'),
  7. ]
  8. operations = [
  9. migrations.AddField(
  10. model_name='article',
  11. name='type',
  12. field=models.SmallIntegerField(default=0, verbose_name='\u6587\u7ae0\u5206\u7c7b', 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')]),
  13. ),
  14. migrations.AlterField(
  15. model_name='article',
  16. name='content',
  17. field=models.TextField(verbose_name='\u6587\u7ae0\u5185\u5bb9'),
  18. ),
  19. ]