> The usual route I go with when trying to extend on the User model is
> to create a new model and link it to the User model. For example:
>
> class UserExt(models.Model):
>     user = models.ForeignKey(User)
>     # ... other fields that you need here
>
>     def __init__(self, user):
>         self.user = user
>         # ... other stuff that you need to do here
>
>     # ... other methods you need here
>
> In your case, you can just create a UserExt model, add a password_md5
> field, set that field when creating or updating a user record and save
> the user_ext object.

Awesome, well I'm already extending the user model, so I can just add
that. So password_md5 still exists? Sweet, if so, I can just override
save() and have that save in the account table right? Things are
looking a lot clearer now, thanks Nimrod.


--~--~---------~--~----~------------~-------~--~----~
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