Commit 139fb9f7 authored by Justin Daniel Mendoza's avatar Justin Daniel Mendoza

Updated views.py and models.py for homepage

parents 44b68c5a 8b18c0ae
# 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")
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