Hello. I have two models:
class Project(models.Model):
code = models.CharField(max_length=255)
name = models.CharField(max_length=255)
class Task(models.Model):
project = models.ForeignKey(Project, on_delete=models.CASCADE)
name = models.CharField(max_length=1000)
description = models.CharField(max_length=5000, blank=True, null=True)
I need to get on my page table
What is the best method to modify my Task.objects.all()?
Please help the Django beginner! Thank you!