On 6/6/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> Why is it that you can't find stuff until after you send an email
> asking about it?
>
> I actually implemented a context processor, added a
> TEMPLATE_CONTEXT_PROCESSORS to my settings.py and then noticed the
> line I had missed about list lookup. (Actually, to slightly
> complicate things, I tried user.userinfo_set[0].formalName first, but
> that's another story.)

No problem at all, Todd. A template context processor would be another
way to do it. Slightly cleaner, if you don't like the
"user.userinfo_set.0" all over the place.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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