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. Choices are: xxx, yyy, zzz
>
> > Any ideas as to what may be causing this?
>
> Your profile model must have a ForeignKey or a OneToOneField pointing
> to User, and the name of that field must be 'user'.
>
> This is because, under the hood, "request.user.get_profile()" is
> actually "YourProfileModel.objects.get(user=request.user)"; if your
> profile model has no field named "user", you'll get the error message
> above.
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to