changed max length of announcement body to and added records to announcements

parent 27e6b7bb
# Generated by Django 3.2.12 on 2022-03-23 10:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('announcements', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='announcement',
name='announcement_body',
field=models.CharField(max_length=400),
),
]
......@@ -3,5 +3,5 @@ from django.db import models
# Create your models here.
class Announcement(models.Model):
announcement_title = models.CharField(max_length=50)
announcement_body = models.CharField(max_length=500)
announcement_body = models.CharField(max_length=400)
pub_date = models.DateTimeField("date published")
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment