alter to text field

This commit is contained in:
virusdefender committed 2018-05-01 12:56:23 +08:00
1 parent 5cb907fa94
commit 3bb3becfcf
15 files changed
+381 -43

No files matched your search

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2018-05-01 04:36
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('announcement', '0002_auto_20171011_1214'),
]
operations = [
migrations.AlterField(
model_name='announcement',
name='title',
field=models.TextField(),
),
]
+1 -1
View File
@@ -5,7 +5,7 @@ from utils.models import RichTextField
class Announcement(models.Model):
title = models.CharField(max_length=64)
title = models.TextField()
# HTML
content = RichTextField()
create_time = models.DateTimeField(auto_now_add=True)