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
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
()
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
3 matches
Mail list logo