Hello!
I have two models that are basically this:
Book(Model):
title = models.CharField(max_length = 250)
read_by = ManyToManyField(User)
...
User(Model):
firstName = models.CharField(max_length = 250)
lastName = models.CharField(max_length = 250)
...
Now, how do I create a list of all books with a "read" boolean for each book? In mysql I can use a ISNULL() with a OUTER JOIN. How can I do this in Django? Do I have to use raw mysql?
Clarification: I want to create the list for each user, so that each user can "tick off" each book they've read.