Commit 2d040343 authored by Nics De Vega's avatar Nics De Vega

minor changes to announcement_board models

parent 759a399a
......@@ -4,7 +4,6 @@ from dashboard.models import WidgetUser
class Announcement(models.Model):
title = models.CharField(max_length=100,default="")
body = models.TextField(default="")
author = models.CharField(max_length=100, unique=True,default="")
author = models.ForeignKey(WidgetUser,on_delete=models.CASCADE)
pub_datetime = models.DateTimeField()
......
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