A common solution would be to create a profile class for a user with
the one-to-one relationship to the user and add your custom method to
the new profile class.
Then set AUTH_PROFILE_MODULE to your profile class in the settings, for example:
AUTH_PROFILE_MODULE = "profile.UserProfile"

You can access the custom method like this: user.get_profile().dosomething()

Regards,
Aidas Bendoraitis [aka Archatas]


On 3/22/07, Greg Donald <[EMAIL PROTECTED]> wrote:
>
> How/where can I add a method to the built-in User class?
>
>
> Thanks,
>
>
> --
> Greg Donald
> http://destiney.com/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to