Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Django Interview Questions
→
Advanced Django Interview Questions in Django Interview Questions
→
What are different model inheritance styles in the...
1.
What are different model inheritance styles in the Django?
Answer»
Abstract
BASE
Class Inheritance
: Used when you only need the
PARENT
class to
HOLD
information that you don’t want to write for each child model.
Multi-Table Model Inheritance:
Used when you are subclassing an existing model and need each model to have its own table in the database.
Proxy Model Inheritance:
Used when you want to retain the model's field while altering the python level functioning of the model.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What are different model inheritance styles in the Django?
What is the difference between a project and an app in Django?
What are Django URLs?
What is Jinja templating?
What is django-admin and manage.py and explain its commands?
What is Django Rest Framework(DRF)?
Define static files and explain their uses?
What is Django ORM?
What are views in Django?
What are templates in Django or Django template language?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies