On 7/12/06, Spider <[EMAIL PROTECTED]> wrote:
> The template engine complains with "Could not parse the remainder: ()"

When doing things like this in a template, you don't use the
parentheses; just {% for s in p.schedule_set.all %}' should work.
Basically, Django tries a few different lookupg methods when it sees
'p.schedule_set.all', and will stop when it finds one that works (in
your case, the manager method). See the documentation for a full
description of how it works:

http://www.djangoproject.com/documentation/templates/#variables

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to