Populated each app with at least 10 objects

parent 89175bfb
...@@ -22,6 +22,9 @@ class Course(models.Model): ...@@ -22,6 +22,9 @@ class Course(models.Model):
course_title = models.CharField(max_length=50) course_title = models.CharField(max_length=50)
section = models.CharField(max_length=5) section = models.CharField(max_length=5)
def __str__(self):
return self.course_title
class Event(models.Model): class Event(models.Model):
target_datetime = models.CharField(max_length=50) target_datetime = models.CharField(max_length=50)
activity = models.CharField(max_length=300) activity = models.CharField(max_length=300)
......
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