bhunter wrote:
> This should be a simple question.  I'd like an Employee model.  First
> name, last name, username, password--basically all the same stuff
> that's already in django.contrib.auth.models.User.  Maybe I want some
> other things like salary, too.  So, it makes sense that I should just
> inherit from this class.
> [...]

You don't need to derive a class from the User model.  This is a
common use-case.  You should be looking at Django Profiles:
http://www.djangoproject.com/documentation/authentication/#storing-additional-information-about-users

--
Ayaz Ahmed Khan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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