Hello,
I used edit_inline with a OneToOneField and it worked.
I am trying to extend the user model, but with multiple
OneToOneField
models. For example, I might have an Employee model that has
a
OneToOneField to User, and a Customer model with a
OneToOneField to
User.
Now, if I add 'edit_inline' to those OneToOneFields, it
adds the
ability to edit Employee and Customer from the User page. I
want to do
the opposite, whenever I am editing an Employee, I want to
have the
ability to edit the associated User. Of course I would like
to do this
wihtout editing the User model itself.
Am I approaching this the correct way? or do I have to think
about it
differently?
--
Thanks!
Medhat Assaad
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|