Thanks.  I think I kind of get it.  It probably will take a while for the
nuances of the filter to sink. Some things are filters that don't seem like
they should be, but that seems like my problem.

Mark :)


On Sun, Mar 10, 2013 at 11:33 PM, Danny Yoo <d...@hashcollision.org> wrote:

> >
> > It's a filter:
> >
> > https://docs.djangoproject.com/en/1.5/ref/templates/builtins/
>
> And to be explicit about Mitya's point: it's technically not Python.
> It's part of Django's template language.  If it were Python, it'd be
> interpreted as the "or" bitwise operator,
>
>
> http://docs.python.org/3/reference/expressions.html#binary-bitwise-operations
>
> but that's definitely not what's happening here.  In your context, as
> part of a Django template document, interpret "|" as notation for the
> filtering operation.
>



-- 
Mark :)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to