---
title: "Discussion on \"Django Clean Architecture\" | Hashnode"
description: "Discussion on \"Django Clean Architecture\". In this post we will explain the approach to apply Clean Architecture in a Django Restful API backend project. It will be useful for this reading to be familiarized with Django and Django Rest Framework as well as with Clean Architecture.\n\nIn no case..."
url: "https://hashnode.com/posts/django-clean-architecture/6186aa7347828111df7ff046"
---

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

Discussion

# [Django Clean Architecture](https://sdediego.hashnode.dev/django-clean-architecture?utm_source=hashnode&utm_medium=feed)

In this post we will explain the approach to apply Clean Architecture in a Django Restful API backend project. It will be useful for this reading to be familiarized with Django and Django Rest Framework as well as with Clean Architecture. In no case...

Nov 6, 2021 · 9 min read · sdediego.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#django](https://hashnode.com/tag/django)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#rest-api](https://hashnode.com/tag/rest-api)

## Written by

[Sergio de Diego](https://hashnode.com/@sdediego)

@sdediego · Madrid, Spain

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

Software Developer

## Responses 2

Markdown supported · ⌘↵ to post

[Erick Duarte](https://hashnode.com/@erickod)

[Feb 14, 2022](https://hashnode.com/posts/django-clean-architecture/6186aa7347828111df7ff046/comment/620aa2724e82f0219d8fa0b0)

[Sergio de Diego](https://hashnode.com/@sdediego) Guy, first of all, very nice implementation of the Clean Architecture. I could notice you implemented a Controller inside the application layer. Could you talk about how to handle JWT tokens inside that? What you think about the aproach of create an adapater with PyJWT and use it to handle JWT in the application's controller?

[David Anyatonwu](https://hashnode.com/@onyedikachi)

[Nov 7, 2021](https://hashnode.com/posts/django-clean-architecture/6186aa7347828111df7ff046/comment/6188343d47828111df8006b3)

Thanks, @sdediego for this article, this is insightful. And, using a practical use case as an example was apt, I'll have to go through them properly to understand the flow, being new to this pattern of software development.
