Kirk McDonald wrote:
> PS: The following hackish thing occurs to me:
> 
> class User(users.User):
>      node = meta.OneToOneField(Node, db_column='id')
>      id = meta.IntegerField(db_column='id', editable=False)
>      class META:
>          replaces_module = 'auth.users'
>          module_name = 'users'
> 
> Is this a completely terrible idea? I haven't tested it yet, though 
> instinct tells me I'll almost certainly have to set the db table up 
> myself...

I'm still not sure what to think of this, but it works in exactly the 
right way. I can now log in to the admin with my User model.

-Kirk McDonald

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to