Commit ab1c446e authored by Titia de Castro's avatar Titia de Castro

created Announcement model

parent 51079526
from django.db import models from django.db import models
# Create your models here.
class Announcement(models.Model):
announcement_title = models.CharField(max_length=200)
announcement_body = models.TextField()
pub_date = models.DateField(auto_now_add=True)
\ No newline at end of file
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