I have a Django application where users have additional data. That data is collected in a Profile model with a OneToOneField pointing to User.
This is fine and works perfectly for most purposes, but I have trouble customizing the admin for User. In particular:
- I would like to be able to show a
Profilefield insidelist_display. I don't know how to do this without writing an additional method onUseritself. - I would like to be able to show some information about related models (e.g. some resources owned by the user) inside the
Userdetail page. Again, I do not know how to do this without writing a customUsermethod.
Do you know any solution to the above?