On Mon, Jan 11, 2010 at 1:02 PM, Dave Merwin <dave.mer...@gmail.com> wrote:
> First of all, thanks to everyone for the help!!! > > I'm not getting any output after the else. Nothing displays in the > template. > > That is what is confusing. > > "Nothing displays in the template" sounds like either there is no user variable in the context, or the user is in no groups. Note that is not the same as no "output after the else". If you are saying you get group.name at the top of the for loop displayed: {% for group in user.groups.all %} {{ group.name }} but nothing else, then that is mysterious (and something I cannot recreate). No output at all means the problem is elsewhere. In that case you are likely not passing the user in the context or passing a user that is in no groups. >From what you've reported I'm still not sure what is is you are seeing, exactly. Karen--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.