either way, the database is hit to check that. so if your goal is to
minimize, getting true and false instead of the record has no
advantage. just check if there is something returned.
On Jun 19, 10:14 am, timc3 <[EMAIL PROTECTED]> wrote:
> I have a situation where I want a true or false to wheth
I have a situation where I want a true or false to whether an object
is in a manytomany.
For instance, I have my users, and have created (separate to the
standard django groups) a groups table called GroupsOfUser with a
relationships defined as:
group_members = models.ManyToManyField(User, verbo
2 matches
Mail list logo