Glad to be able to help 2011/11/10 Micky Hulse <rgmi...@gmail.com>
> On Thu, Nov 10, 2011 at 3:47 PM, Micky Hulse <rgmi...@gmail.com> wrote: > > Whoa! That works perfectly! > > Ack! I spoke too soon. > > My context variable name of "user" conflicted with the current > logged-in user (looks like there's already a "user" variable floating > around at the template level... I assume this variable comes from the > "django.contrib.auth.context_processors.auth" middleware?) > > Quick fix was to set context_object_name = 'member' and update my > template code to match the variable name change > {{member.get_user_profile}} and everything is working perfectly! > > I am not sure why the old functional view did not exhibit the same > variable name conflict. > > Anyway, thanks again Andres! > > Cheers, > M > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Andrés Reyes Monge armo...@gmail.com +(505)-8873-7217 -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.