Kool... that fixed it
Thanks
Jim
On Sep 29, 1:23 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 29, 2008 at 2:02 AM, jim <[EMAIL PROTECTED]> wrote:
> > This gives me an error:
> > Cannot resolve keyword 'user' into field. Choice
ser.is_authenticated():
user_profile_obj = request.user.get_profile()
...
This gives me an error:
Cannot resolve keyword 'user' into field. Choices are: xxx, yyy, zzz
Any ideas as to what may be causing this?
Thanks
Jim
--~--~-~--~~~---~--~-
On Mon, Sep 29, 2008 at 2:02 AM, jim <[EMAIL PROTECTED]> wrote:
> This gives me an error:
> Cannot resolve keyword 'user' into field. Choices are: xxx, yyy, zzz
>
> Any ideas as to what may be causing this?
Your profile model must have a ForeignKey or a OneToOneFie
ex(request):
>
> if request.method == 'POST':
> pass
> else:
> if request.user.is_authenticated():
> user_profile_obj = request.user.get_profile()
> ...
>
> This gives me an error:
> Cannot resolve keyword 'user'
4 matches
Mail list logo