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