Models
hypha.apply.todo.models
¶
Task
¶
Bases: Model
code
class-attribute
instance-attribute
¶
code = models.CharField(choices=TASKS_CODE_CHOICES, max_length=50)
user
class-attribute
instance-attribute
¶
user = models.ForeignKey(User, blank=True, null=True, on_delete=models.CASCADE, related_name='task')
user_group
class-attribute
instance-attribute
¶
created_at
class-attribute
instance-attribute
¶
related_content_type
class-attribute
instance-attribute
¶
related_content_type = models.ForeignKey(ContentType, blank=True, null=True, on_delete=models.CASCADE, related_name='task_related')