Re: Cannot get user profile working.

2008-10-24 Thread kylewild
here's the model: from django.db import models from django.contrib.auth.models import User # this will set us up to use user.get_gender_display, thanks to django's get_FOO_display GENDER_CHOICES = ( ('M', 'Male'), ('F', 'Female'), ) # defining the model for UserProfile, which extends

Re: Cannot get user profile working.

2008-10-24 Thread Brian Neal
On Oct 24, 3:01 pm, kylewild <[EMAIL PROTECTED]> wrote: > thanks brian, good call > > I had read that and somehow not parsed it! > > However, I'm still having the issue after changing it to: > > AUTH_PROFILE_MODULE = 'chat.userprofile' > > (i tried myproject.userprofile as well) > > 'NoneType' obj

Re: Cannot get user profile working.

2008-10-24 Thread kylewild
thanks brian, good call I had read that and somehow not parsed it! However, I'm still having the issue after changing it to: AUTH_PROFILE_MODULE = 'chat.userprofile' (i tried myproject.userprofile as well) 'NoneType' object has no attribute '_default_manager' /home/mochat/webapps/django/li

Re: Cannot get user profile working.

2008-10-24 Thread Brian Neal
On Oct 24, 2:23 pm, kylewild <[EMAIL PROTECTED]> wrote: > I'm having this same issue and the fix here, as best I can attempt to > apply it, didn't work for me > > I had AUTH_PROFILE_MODULE set to "myproject.UserProfile" > > After reading this thread, I changed it to "chat.UserProfile" -- to no > a

Re: Cannot get user profile working.

2008-10-24 Thread kylewild
I'm having this same issue and the fix here, as best I can attempt to apply it, didn't work for me I had AUTH_PROFILE_MODULE set to "myproject.UserProfile" After reading this thread, I changed it to "chat.UserProfile" -- to no avail In my "chat" directory, I have the model "UserProfile" define

Re: Cannot get user profile working.

2008-09-02 Thread Alex
Thanks, worked perfectly. Not sure if it's just me and my lack of sleep or the docs aren't that clear on this item. I didn't see much regarding this on the Internet so there must not be scores of others making the same mistake. --~--~-~--~~~---~--~~ You received t

Re: Cannot get user profile working.

2008-09-01 Thread James Bennett
On Mon, Sep 1, 2008 at 7:22 PM, Alex <[EMAIL PROTECTED]> wrote: > I have set the following in settings.py (among a thousand other > combinations). The value you want is the app label, which is 'core', followed by a dot, followed by the model name, which is 'userprofile'. So 'core.userprofile'. No