Created announcement model in announcements app

parent a924e660
from django.db import models from django.db import models
# Create your models here. class Announcement(models.Model):
announcement_title = models.CharField(max_length=100)
announcement_body = models.CharField(max_length=400)
pub_date = models.DateField(auto_now_add = True)
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