Re: unbound method get_profile()

2007-07-25 Thread Jack Woods
file(request): > > template_name = 'user_profile.html' > > obj_list = User.get_profile() > ... > > unbound method get_profile() must be called with User instance as > > first argument (got nothing instead) > > Look closer at the code - the error message is telli

Re: unbound method get_profile()

2007-07-25 Thread Russell Keith-Magee
On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > def profile(request): > template_name = 'user_profile.html' > obj_list = User.get_profile() ... > unbound method get_profile() must be called with User instance as > first argument (got nothi

unbound method get_profile()

2007-07-25 Thread [EMAIL PROTECTED]
() return render_to_response(template_name, locals(), context_instance=RequestContext(request)) Simple enough. But when I try to render the page, I get: unbound method get_profile() must be called with User instance as first argument (got nothing instead) I have AUTH_PROFILE_MODULE set