---
title: "Discussion on \"OneToOne Relationship: Linking your user model to your custom profile model in Django\" | Hashnode"
description: "Discussion on \"OneToOne Relationship: Linking your user model to your custom profile model in Django\". Phew... It's database again!?\n\nThere are three main relationships in relational database. These include:\n\nOne To One relationship\nOne To Many relationship\nMany To Many relationship\n\nIn this article we will be dealing with the first one; one-to-one re..."
url: "https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9"
---

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

Discussion

# [OneToOne Relationship: Linking your user model to your custom profile model in Django](https://thelegalcode.hashnode.dev/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django?utm_source=hashnode&utm_medium=feed)

Phew... It's database again!? There are three main relationships in relational database. These include: One To One relationship One To Many relationship Many To Many relationship In this article we will be dealing with the first one; one-to-one re...

Aug 21, 2020 · 13 min read · thelegalcode.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#python](https://hashnode.com/tag/python)
-   [#django](https://hashnode.com/tag/django)
-   [#databases](https://hashnode.com/tag/databases)
-   [#developer](https://hashnode.com/tag/developer)

## Written by

[Mary Adeoye](https://hashnode.com/@aduke)

@aduke · Nigeria

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

Software Engineer

Passionate and results-driven Software Engineer specializing in Angular, React, Node.js, and Express for full-stack development. Experienced in building scalable, high-performance digital products with a strong focus on technical documentation, agile product delivery, and cloud solutions. Proficient in modern frameworks and cloud technologies, with expertise in AWS, SQL, CI/CD, and API development.

## Responses 3

Markdown supported · ⌘↵ to post

[Ayoola Falola](https://hashnode.com/@ayoolafalola)

[Aug 24, 2020](https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9/comment/5f43c13f6215cf0714f8a279)

Interesting. What great read... keep it up.

[Mary Adeoye](https://hashnode.com/@aduke)

[Aug 28, 2020](https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9/comment/5f43c13f6215cf0714f8a279#reply-5f4909123ba45c3bb00ef1ae)

Thank you Mr. Ayoola!

[Owolabi Oluwarotimi](https://hashnode.com/@Timibreez)

[Aug 22, 2020](https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9/comment/5f40eb491b16b970904c0f89)

This is by far the best article yet. Kudos

[Mary Adeoye](https://hashnode.com/@aduke)

[Aug 23, 2020](https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9/comment/5f40eb491b16b970904c0f89#reply-5f42e5a4b9aefd741aeaf75f)

My Oga! Thank you so much

[atinuke oluwabamikemi kayode](https://hashnode.com/@Iambami)

[Aug 22, 2020](https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9/comment/5f40aad998f2d769410815aa)

This is an amazing article Aduke. Thanks for sharing.

[Mary Adeoye](https://hashnode.com/@aduke)

[Aug 23, 2020](https://hashnode.com/posts/onetoone-relationship-linking-your-user-model-to-your-custom-profile-model-in-django/5f402130cce6c969208c99c9/comment/5f40aad998f2d769410815aa#reply-5f42e51fb9aefd741aeaf755)

Thank you Bami!
