---
title: "Discussion on \"Django ORM: Accessing foreign key objects\" | Hashnode"
description: "Discussion on \"Django ORM: Accessing foreign key objects\". One to many, many to one relationships\nFor demonstration, let’s create a Django project and start an app call books. We will take the example of the relationship between books and reviews and create two simple models for them. As you know, one book c..."
url: "https://hashnode.com/posts/django-accessing-foreign-key-objects/6742bf3785ea2bc0bfc63616"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Django ORM: Accessing foreign key objects](https://rohansblog.hashnode.dev/django-accessing-foreign-key-objects?utm_source=hashnode&utm_medium=feed)

One to many, many to one relationships For demonstration, let’s create a Django project and start an app call books. We will take the example of the relationship between books and reviews and create two simple models for them. As you know, one book c...

Nov 24, 2024 · 4 min read · rohansblog.hashnode.dev  
Updated Dec 1, 2024  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#python](https://hashnode.com/tag/python)
-   [#foreign-key](https://hashnode.com/tag/foreign-key)

## Written by

[Rohan](https://hashnode.com/@rohanblogs)

@rohanblogs

  
[View profile](https://hashnode.com/@rohanblogs)

Software engineer and blogger

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
