Thanks to those who replied; removing the () as suggested worked.
--~--~-~--~~~---~--~~
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 unsubscri
On Wed, Jul 12, 2006 at 09:09:22AM -0700, Spider wrote:
>
> I have this loop in a template :
>{% for s in p.schedule_set.all() %}
Remove the () and it should be fine
> The template engine complains with "Could not parse the remainder: ()"
>
> Here p is a Plan object instance. Schedule has
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 met
3 matches
Mail list logo