In this post, we will see how to resolve Combining two models into one in django
Question:
Is it possible to combine two models into one in django so that I can show all details of both table in django admin panel in one table.Best Answer:
As per your expectation, you want to implement this on the Django admin panel. One way to achieve this is by using join between the User and Address models using select_related().I register the Address model and override the get_queryset() method to write the expected queryset and write callable to display the User model fields.
If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com