# Modeling Polymorphism in Django

DevFeed: [Modeling Polymorphism in Django](<https://devfeed.tech/articles/modeling-polymorphism-in-django-33917.md>)

Original publisher: [Read original article](<https://hakibenita.com/modeling-polymorphism-in-django>)

Author: Haki Benita

Published: 2019-01-01T22:00:00Z

Content type: tutorial

Language: en

Sources: [Haki Benita](<https://devfeed.tech/sources/haki-benita.md>)

Topics: [Polymorphism](<https://devfeed.tech/topics/polymorphism.md>), [Django](<https://devfeed.tech/topics/django.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [articles](<https://devfeed.tech/tags/articles.md>), [django](<https://devfeed.tech/tags/django.md>), [orm](<https://devfeed.tech/tags/orm.md>), [polymorphism](<https://devfeed.tech/tags/polymorphism.md>), [relational-databases](<https://devfeed.tech/tags/relational-databases.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

## AI overview

The article presents several techniques for modeling polymorphic objects in relational databases using Django's object-relational mapping (ORM).

## Source excerpt

Modeling polymorphism in relational databases is a challenging task. In this article, we present several modeling techniques to represent polymorphic objects in a relational database using the Django object-relational mapping (ORM).