---
title: "Discussion on \"Flask Application Factory Imports Done Right\" | Hashnode"
description: "Discussion on \"Flask Application Factory Imports Done Right\". Are you working in a large Flask application and occasionally end up in circular import distress?  The way your init.py file handles middleware and extensions plays a big role in your long term maintainability of the code base.  Here is a quick examp..."
url: "https://hashnode.com/posts/flask-application-factory-imports-done-right/60cdf0d037952431a17124de"
---

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

Discussion

# [Flask Application Factory Imports Done Right](https://bradywalters.hashnode.dev/flask-application-factory-imports-done-right?utm_source=hashnode&utm_medium=feed)

Are you working in a large Flask application and occasionally end up in circular import distress? The way your init.py file handles middleware and extensions plays a big role in your long term maintainability of the code base. Here is a quick examp...

Jun 19, 2021 · 2 min read · bradywalters.hashnode.dev  
Read the article

-   [#flask](https://hashnode.com/tag/flask)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Brady Waters](https://hashnode.com/@bw984)

@bw984

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

Develop solutions for improved organizational efficiency through whatever stack necessary.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
