Re: error when using User.get_profile()

2008-09-08 Thread Sven Richter
Karen Tracey wrote: > On Mon, Sep 8, 2008 at 6:42 AM, sveri <[EMAIL PROTECTED] > > wrote: > > > Hi, > > i am using Django 1.0 and try to extent the usermodel, which works so > far > for adding new users. > > But when i want to retrieve a user profile

Re: error when using User.get_profile()

2008-09-08 Thread Karen Tracey
On Mon, Sep 8, 2008 at 6:42 AM, sveri <[EMAIL PROTECTED]> wrote: > > Hi, > > i am using Django 1.0 and try to extent the usermodel, which works so > far > for adding new users. > > But when i want to retrieve a user profile i get a weird error: > > user = get_object_or_404(User, id=9) > user.get_p

Re: error when using User.get_profile()

2008-09-08 Thread sveri
On Sep 8, 1:34 pm, "Matthias Kestenholz" <[EMAIL PROTECTED]> wrote: > Hi, > > > > On Mon, Sep 8, 2008 at 12:42 PM, sveri <[EMAIL PROTECTED]> wrote: > > > Hi, > > > i am using Django 1.0 and try to extent the usermodel, which works so > > far > > for adding new users. > > > But when i want to ret

Re: error when using User.get_profile()

2008-09-08 Thread Matthias Kestenholz
Hi, On Mon, Sep 8, 2008 at 12:42 PM, sveri <[EMAIL PROTECTED]> wrote: > > Hi, > > i am using Django 1.0 and try to extent the usermodel, which works so > far > for adding new users. > > But when i want to retrieve a user profile i get a weird error: > > user = get_object_or_404(User, id=9) > user

error when using User.get_profile()

2008-09-08 Thread sveri
Hi, i am using Django 1.0 and try to extent the usermodel, which works so far for adding new users. But when i want to retrieve a user profile i get a weird error: user = get_object_or_404(User, id=9) user.get_profile() Traceback (most recent call last): File "", line 1, in File "/usr/lib