From 88c6b59976cbadd0a11046a88c09d1d4f9457542 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 28 Jun 2025 08:03:17 +0100 Subject: [PATCH] reformatted, added URL to 2025 comparison article - online edit of handbook/troggle/trog2030.html --- handbook/troggle/trog2030.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/handbook/troggle/trog2030.html b/handbook/troggle/trog2030.html index 60311be09..70e3bd872 100644 --- a/handbook/troggle/trog2030.html +++ b/handbook/troggle/trog2030.html @@ -198,11 +198,15 @@ A GIS db could make a lot of sense. Expo has GIS expertise and we have a lot of

Django and Flask

The idea that we should replace Django with Flask comes up from time to time: "No! This is a really shit idea":
-

"The true comparison of these web frameworks depends on your project's needs. Are you building a traditional web application that connects to a database, requires CRUD (Create-Read-Update-Delete) functionality, and user authentication? If yes, Django has built-in solutions for all of these needs. By comparison, Flask requires installing multiple third-party libraries: Flask-SQLAlchemy to connect to the database, Flask-Migrate to manage database migrations, Flask-WTF and WTForms for forms, Flask-Login for user authentication, FLask-Mail for email support, Flask-Security for security features, Flask-Admin for an admin interface to manage application data, Flask-Caching for caching support, Flask-BCrypt for password hashing and so on." -
+

"The true comparison of these web frameworks depends on your project's needs. Are you building a traditional web application that connects to a database, requires CRUD (Create-Read-Update-Delete) functionality, and user authentication? +

+ +

"The power of Django is that you don't have to worry about any of these things. They are included, tested, and supported by the community. For Flask, the third-party libraries are not as tightly integrated and require more manual installation by the developer. This affords greater flexibility but also requires more programmer expertise."
- flask-vs-django.

+ flask-vs-django which also talks about FastAPI.

+ +

For an updated (June 24, 2025) comparison, see Choosing the Best Python Web Framework

Postscript