On 11/29/06, conrad22 <[EMAIL PROTECTED]> wrote:
> eg. I have the following error appearing, instead of the object:
>
> django.db.models.fields.related.ManyRelatedManager object
What you're missing is the 'all()' at the end.
Your example is a little confusing - the model Category should have an
ie what is the simplest way to call the categories that have been
selected for each organisation ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
Ah ha! I've had a thought..could I use a custom Manager to predefine
the query and then call in the template? In which case, how would a
write a query set for the manager that only returns those categories
that an organisation has selected?
--~--~-~--~~~---~--~~
3 matches
Mail list logo