sandroin / Learning-Management-System

1 stars 1 forks source link

Update models.py #19

Closed NiaGerg closed 6 months ago

NiaGerg commented 6 months ago

Task class ემატება lecturer, title, description, execution_date

class Task(models.Model): lecturer = models.ForeignKey(CustomUser, on_delete=models.CASCADE, related_name='tasks') title = models.CharField(max_length=200) description = models.TextField() execution_date = models.DateField()