Skip to content
Snippets Groups Projects
Commit 1016fca1 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Made tid optional in the Task model.

parent c0da85ec
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,7 @@ class Task(models.Model):
uuid = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
user = models.ForeignKey(User, related_name='+', on_delete=models.CASCADE)
tid = models.CharField('Task ID', max_length=64, blank=False, null=False)
tid = models.CharField('Task ID', max_length=64, blank=True, null=True)
name = models.CharField('Task name', max_length=36, blank=False, null=False)
status = models.CharField('Task status', max_length=36, blank=True, null=True)
created = models.DateTimeField('Created on', default=timezone.now)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment