Commit 31d2bd7c authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

added label descriptions to the models and added comment for course model

parent 9b9c8b60
......@@ -18,11 +18,11 @@ class Location(models.Model):
class Event(models.Model):
target_datetime = models.DateTimeField(max_length=50)
activity = models.CharField(max_length=50)
estimated_hours = models.FloatField(max_length=50)
target_datetime = models.DateTimeField("Date and Time: ", max_length=50)
activity = models.CharField("Activity: ",max_length=50)
estimated_hours = models.FloatField("Estimated Hours: ",max_length=50)
location = models.ForeignKey(Location, on_delete=models.CASCADE)
course = models.CharField(max_length=69, default="")
course = models.CharField("Course/Section: ",max_length=69, default="")
def __str__(self):
......
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