This is something I've been looking around for earlier. Thanks for
posting it here as well! I originally found it here: (http://
groups.google.com/group/django-users/browse_thread/thread/
1f97ae29f23f71d4)
But after using that type of method to list a ManyToManyField (in my
case, a field called
I'm working my way through the Django Book and creating a simple books
app inside the tutorial project. I have the following class:
class Book(models.Model):
...
def get_authors(self):
return self.authors.all()
And I am using that get_authors() method to find all authors for a
p
2 matches
Mail list logo