Skip to content Skip to sidebar Skip to footer

How May I Overrride The Modeladmin So That It Displays Components Of Two Models?

I want to override the ModelAdmin. But I want to include the functionalities of two models into one. However I'm not considering merging the two models into one. Is there any other

Solution 1:

It depends on a relation between your models. Take a look to InlineModelAdmin:

https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin

Post a Comment for "How May I Overrride The Modeladmin So That It Displays Components Of Two Models?"