modified task description field, modified check answer api and create task api

This commit is contained in:
abutalib-kiwi
2023-09-08 16:14:29 +05:30
parent b084b255dc
commit 1e97d7bd6b
5 changed files with 27 additions and 10 deletions

View File

@ -97,7 +97,7 @@ class JuniorTask(models.Model):
"""task details"""
task_name = models.CharField(max_length=100)
"""task description"""
task_description = models.CharField(max_length=500)
task_description = models.CharField(max_length=500, null=True, blank=True)
"""points of the task"""
points = models.IntegerField(default=TASK_POINTS)
"""last date of the task"""