<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/django/best-of/2024" -->

---
title: Best Django posts of 2024 | daily.dev
description: The most upvoted Django posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/tags/django/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/django/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Django posts of 2024 | daily.dev
og:description: The most upvoted Django posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Django — 2024

1. 1  
[](/posts/django-project-ideas-gdxugugjd "Django Project Ideas")  
Article  
![Avatar of jetbrains](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/53ecf0c676f34b3896ee109609d91efa)JetBrains · 2y  
Django Project Ideas  
Get inspired with a range of Django project ideas, from simple beginner apps to more advanced, full-stack applications. Learn how to set up a Django project, develop models, views, and templates, and explore various tech stacks for each project. Ideal for building a personal project, enhancing your portfolio, or experimenting with new technologies.  
111  
1
2. 2  
[](/posts/fastapi-flask-or-django---which-should-you-use--aljah1nwi "FastAPI, Flask or Django - Which Should You Use?")  
Video  
![Avatar of TechWithTim](https://media.daily.dev/image/upload/s--6vVIDfU0--/f_auto/v1711726146/logos/TechWithTim)Tech With Tim · 2y  
FastAPI, Flask or Django - Which Should You Use?  
Comparison of Flask, Django, and FastAPI for Python web development. Flask is lightweight and customizable, ideal for small to medium-sized apps. Django is high-level with many built-in features, suitable for complex web applications. FastAPI is a modern, high-performance framework for building self-documenting and fast APIs. Choose the framework based on your use case, ease of learning, performance needs, and project requirements.  
103  
9
3. 3  
[](/posts/nfoert-cardie-an-open-source-business-card-designer-and-sharing-platform-fdghrkhq0 "nfoert/cardie: An open source business card designer and sharing platform")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 2y  
nfoert/cardie: An open source business card designer and sharing platform  
Cardie is an open-source platform for designing and sharing business cards. Users can create unlimited cards, get analytics, edit cards, and control privacy settings. The platform is in open alpha and subject to changes. Instructions for setting up the application locally, including creating a Python virtual environment, setting up a Django superuser, and configuring environment variables, are provided.  
86  
2
4. 4  
[](/posts/learn-backend-development-by-building-three-projects-full-course--3ssmj4pik "Learn Backend Development by Building Three Projects [Full Course]")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 3y  
Learn Backend Development by Building Three Projects \[Full Course\]  
Learn backend development by building three projects with Python, Django, JavaScript, and PostgreSQL. Projects include an AI Blog Article Generator, Netflix Clone, and Spotify Clone.  
73  
3
5. 5  
[](/posts/22-github-repositories-for-learning-web-development-html-css-mern-python-and-django-4ssznsm8d "22 GitHub Repositories for Learning Web Development: HTML, CSS, MERN, Python, and Django")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 2y  
22 GitHub Repositories for Learning Web Development: HTML, CSS, MERN, Python, and Django  
This post offers a curated list of 22 GitHub repositories ideal for learning various web development technologies, including HTML, CSS, MERN stack, Python, and Django. These resources provide a mix of beginner-friendly and advanced materials, featuring interactive challenges, structured curriculums, and real-world projects to help improve and diversify your web development skills.  
64  
2
6. 6  
[](/posts/best-practices-for-structuring-a-django-project-141mvqay0 "Best Practices for Structuring a Django Project")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 2y  
Best Practices for Structuring a Django Project  
Learn how to structure a Django project using best practices. This guide covers setting up a virtual environment, organizing your project's folders, managing dependencies with requirements files, separating settings based on different environments, creating a modular structure for Django applications, and using Makefile for command shortcuts to streamline development processes.  
62
7. 7  
[](/posts/how-to-build-your-own-saas-business-qatgwp7id "How to build your own SAAS business")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 3y  
How to build your own SAAS business  
Learn how to build a successful SAAS business by building an audience, using Django for development, offering a free tier, generating expansion revenue, listing your product on various platforms, and learning from expert founders.  
58
8. 8  
[](/posts/from-localhost-to-cloud-next-js-django-ssl-github-actions-dns-ultimate-website-depl-es6zgchbd "🌍🚀🎯 From Localhost to Cloud ☁️: Next.js, Django, SSL 🔒, GitHub Actions 🚀, DNS| Ultimate Website Deployment Tutorial🌟🔥✨")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 2y  
🌍🚀🎯 From Localhost to Cloud ☁️: Next.js, Django, SSL 🔒, GitHub Actions 🚀, DNS| Ultimate Website Deployment Tutorial🌟🔥✨  
This post is a tutorial on deploying a website from localhost to the cloud using Next.js, Django, SSL, GitHub Actions, and DNS. It covers the process of Dockerizing the frontend and backend, writing Kubernetes manifests, creating a GCP Kubernetes cluster, configuring DNS, and using GitHub Actions for building and deploying applications.  
44
9. 9  
[](/posts/integrating-react-with-django-x7szr0w1z "Integrating React with Django")  
Article  
![Avatar of asayer](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/be8d9d38650943c8a1718ba79f23e9ac)asayer · 2y  
Integrating React with Django  
This guide walks through the process of integrating a Django backend with a React.js front-end. It covers setting up a Django project, creating a REST API with Django REST Framework, and configuring CORS headers. On the front-end side, it explains how to create a React application, handle form submissions, and fetch data using Axios. The integration aims to create a dynamic web application where users can manage food and ingredients.  
42  
4
10. 10  
[](/posts/from-react-to-a-django-htmx-based-stack-zot5byukm "From React to a Django+HTMX based stack")  
Article  
![Avatar of planetpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/eac3cc584cb043b5a242d13752bd3d0c)Planet Python · 2y  
From React to a Django+HTMX based stack  
Learn about Sheena O'Connell's journey of moving from a React-Django application to a pure Django with HTMX stack. Discover a real-world success story, lessons learned, and relevant resources including workshops, courses, and tools related to HTMX and Django development.  
41
11. 11  
[](/posts/python-javascript---portfolio-web-app-tutorial-ozh9mrvfj "Python + JavaScript - Portfolio Web App Tutorial")  
Video  
![Avatar of TechWithTim](https://media.daily.dev/image/upload/s--6vVIDfU0--/f_auto/v1711726146/logos/TechWithTim)Tech With Tim · 2y  
Python + JavaScript - Portfolio Web App Tutorial  
Learn how to build a portfolio website using Django and Python. Follow step-by-step instructions to deploy the site on Hostinger. Add tags and filter projects for easy navigation.  
39
12. 12  
[](/posts/the-state-of-django-2024-bujhft5ea "The State of Django 2024")  
Article  
![Avatar of planetpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/eac3cc584cb043b5a242d13752bd3d0c)Planet Python · 2y  
The State of Django 2024  
Discover the latest trends in Django development, including the use of Flask and FastAPI alongside Django, the popularity of Django for both full-stack and API development, the shift towards htmx, Alpine.js, and Tailwind CSS for frontend development, and the favored databases, container orchestration, CI systems, and infrastructure as code solutions among Django developers.  
39
13. 13  
[](/posts/building-a-fullstack-application-with-django-django-rest-next-js-gxewtfsmi "Building a FullStack Application with Django, Django REST & Next.js")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 3y  
Building a FullStack Application with Django, Django REST & Next.js  
Learn how to build a fullstack application with Django and Next.js. Understand the features of both frameworks and how to set up a Django REST API and create a frontend application with Next.js. Explore handling CRUD operations, routing, and connecting the backend and frontend applications.  
37
14. 14  
[](/posts/top-python-frameworks-for-2024-6eo6714lj "Top Python Frameworks for 2024")  
Article  
![Avatar of earthly](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/139a6e6902684ea1aa97ca01c0c8c92e)Earthly · 2y  
Top Python Frameworks for 2024  
This post provides an overview of Python web frameworks, including Django, Flask, and FastAPI. It explains the difference between a library and a framework, highlights the features and use cases of each framework, and offers tips for choosing the right framework for your project.  
36
15. 15  
[](/posts/django-logging-tutorial-best-practices-ybmn5e45b "Django Logging | Tutorial & Best Practices")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 2y  
Django Logging | Tutorial & Best Practices  
Learn how to implement logging in Django and follow best practices to improve application development and end-user experience. Understand logging levels in Python.  
34
16. 16  
[](/posts/taming-the-beast-that-is-the-django-orm---an-introduction-toqoqnk2r "Taming the beast that is the Django ORM - An introduction")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 2y  
Taming the beast that is the Django ORM - An introduction  
This post provides an introduction to the Django ORM, emphasizing its strengths and weaknesses. It covers the basics of object-relational mapping, the reasons for using an ORM, potential pitfalls like lazy loading and N+1 queries, and provides guidance on migrations, querying, and performance improvements. It also details the differences between raw SQL and how Django ORM handles various SQL operations.  
33
17. 17  
[](/posts/django-logging-everything-you-need-to-know-9qwmdpl9z "Django Logging: Everything You Need to Know")  
Article  
![Avatar of last9](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0542036d401f4cb1885680f1984fb880)Last9 · 2y  
Django Logging: Everything You Need to Know  
Logging is a crucial part of any web framework, including Django. This guide covers setting up and configuring Django logging, handling different log formats like JSON, and improving logging strategies for better monitoring and performance. It also discusses how to customize logging settings in settings.py, use various log levels, and employ advanced configurations using dictConfig. Additionally, it explains logging API calls, capturing server logs, and integrating with modern log analysis tools for enhanced observability.  
31
18. 18  
[](/posts/python-tutorial-pathlib---the-modern-way-to-handle-file-paths-uqj8gsv7a "Python Tutorial: Pathlib - The Modern Way to Handle File Paths")  
Video  
![Avatar of coreyms](https://media.daily.dev/image/upload/s--ACi7CG1x--/f_auto/v1716024677/logos/coreyms)Corey Schafer · 2y  
Python Tutorial: Pathlib - The Modern Way to Handle File Paths  
Learn about Python's pathlib module introduced in Python 3.4, a modern alternative to the OS module for handling file paths. Pathlib represents paths as objects, making file operations more intuitive and less error-prone across different operating systems. The tutorial provides practical examples and contrasts the usage of pathlib versus the OS module, explaining the benefits of switching to pathlib for better readability and efficiency. Additionally, the tutorial covers pathlib's methods for creating, deleting, and modifying files and directories, with guidance on when to use the OS or shutil modules instead.  
30
19. 19  
[](/posts/how-to-convert-a-python-script-into-a-web-app-a-product-others-can-use-wsvxksput "How to convert a Python script into a web app, a product others can use")  
Article  
![Avatar of planetpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/eac3cc584cb043b5a242d13752bd3d0c)Planet Python · 2y  
How to convert a Python script into a web app, a product others can use  
The post explains how to convert a Python utility script into a web app using Django and Django Rest Framework for the backend and React.js for the frontend. It describes the motivation behind building the app, the backend API design, authentication using JWT, and the deployment process using Docker. Additionally, it provides insights into the overall development lifecycle, emphasizing simplicity, speed, and gradual feature addition.  
29  
2
20. 20  
[](/posts/html-and-css-foundations-for-python-developers-real-python-jb3h19ltt "HTML and CSS Foundations for Python Developers – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python · 2y  
HTML and CSS Foundations for Python Developers – Real Python  
Learn HTML and CSS foundations for Python developers to understand web frameworks and create impressive websites.  
30
21. 21  
[](/posts/multi-factor-authentication-in-django-lgeelooim "Multi-factor authentication in django")  
Article  
![Avatar of planetpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/eac3cc584cb043b5a242d13752bd3d0c)Planet Python · 2y  
Multi-factor authentication in django  
Multi-factor authentication (MFA) is crucial for modern web applications. This guide explains how to implement both TOTP and FIDO2 authentication in Django using the django-mfa3 package and cbor-js for hardware token support. Key highlights include configuring templates, middleware, and views to enable MFA in your Django application.  
28
22. 22  
[](/posts/htmx-playground-cblbv4bae "HTMX Playground")  
Article  
![Avatar of hn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn)Hacker News · 3y  
HTMX Playground  
HTMX Playground is a simple code sandbox for playing around with HTMX. It allows you to write code in a backend-like environment, running entirely inside the browser. You can save and share your code by copying it as JSON and uploading it as a Gist. The playground has some limitations, such as no page navigation and limited mobile support. It uses Svelte, Ace, PollyJS, and Nunjucks libraries.  
26  
3
23. 23  
[](/posts/database-testing-with-fixtures-and-seeding-aacsqie4k "Database testing with fixtures and seeding")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 2y  
Database testing with fixtures and seeding  
Database testing requires both static seeding and fixtures to ensure reliable and consistent data. Static seeding provides essential data for applications to function, while dynamic seeding offers varied data for stress testing. Fixtures offer a controlled environment for specific test scenarios. Using seeding and fixtures alongside database branching can enhance testing by providing isolated and resettable environments.  
24
24. 24  
[](/posts/how-to-secure-your-django-app-best-practices-and-code-examples-8125eeis1 "How to Secure Your Django App – Best Practices and Code Examples")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 2y  
How to Secure Your Django App – Best Practices and Code Examples  
Learn best security practices for securing your Django app, including measures for authentication and authorization, protection against SQL injection attacks, prevention of cross-site scripting (XSS) attacks, and more.  
24
25. 25  
[](/posts/developing-multi-modal-bots-with-django-gpt-4-whisper-and-dall-e-pqkx0ibev "Developing Multi-Modal Bots with Django, GPT-4, Whisper, and DALL-E")  
Article  
![Avatar of community](https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community)Community Picks · 2y  
Developing Multi-Modal Bots with Django, GPT-4, Whisper, and DALL-E  
Learn how to develop a multi-modal bot using Django, GPT-4, Whisper, and DALL-E. The tutorial covers integrating artificial intelligence into web applications, creating a multi-modal bot that understands and responds to user inputs in various forms (text, voice, and images), and leveraging models like Whisper for speech transcription, GPT-4 for text generation, and DALL-E for image generation.  
24

[See all Django archives](/tags/django/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/django/best-of/2024#page","url":"https://daily.dev/tags/django/best-of/2024","name":"Best Django Posts of 2024","description":"The most upvoted Django posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/django/best-of/2024#items","numberOfItems":25,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/django-project-ideas-gdxugugjd","name":"Django Project Ideas"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/fastapi-flask-or-django---which-should-you-use--aljah1nwi","name":"FastAPI, Flask or Django - Which Should You Use?"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/nfoert-cardie-an-open-source-business-card-designer-and-sharing-platform-fdghrkhq0","name":"nfoert/cardie: An open source business card designer and sharing platform"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/learn-backend-development-by-building-three-projects-full-course--3ssmj4pik","name":"Learn Backend Development by Building Three Projects [Full Course]"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/22-github-repositories-for-learning-web-development-html-css-mern-python-and-django-4ssznsm8d","name":"22 GitHub Repositories for Learning Web Development: HTML, CSS, MERN, Python, and Django"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/best-practices-for-structuring-a-django-project-141mvqay0","name":"Best Practices for Structuring a Django Project"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/how-to-build-your-own-saas-business-qatgwp7id","name":"How to build your own SAAS business"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/from-localhost-to-cloud-next-js-django-ssl-github-actions-dns-ultimate-website-depl-es6zgchbd","name":"🌍🚀🎯 From Localhost to Cloud ☁️: Next.js, Django, SSL 🔒, GitHub Actions 🚀, DNS| Ultimate Website Deployment Tutorial🌟🔥✨"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/integrating-react-with-django-x7szr0w1z","name":"Integrating React with Django"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/from-react-to-a-django-htmx-based-stack-zot5byukm","name":"From React to a Django+HTMX based stack"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/python-javascript---portfolio-web-app-tutorial-ozh9mrvfj","name":"Python + JavaScript - Portfolio Web App Tutorial"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/the-state-of-django-2024-bujhft5ea","name":"The State of Django 2024"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/building-a-fullstack-application-with-django-django-rest-next-js-gxewtfsmi","name":"Building a FullStack Application with Django, Django REST & Next.js"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/top-python-frameworks-for-2024-6eo6714lj","name":"Top Python Frameworks for 2024"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/django-logging-tutorial-best-practices-ybmn5e45b","name":"Django Logging | Tutorial & Best Practices"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/taming-the-beast-that-is-the-django-orm---an-introduction-toqoqnk2r","name":"Taming the beast that is the Django ORM - An introduction"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/django-logging-everything-you-need-to-know-9qwmdpl9z","name":"Django Logging: Everything You Need to Know"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/python-tutorial-pathlib---the-modern-way-to-handle-file-paths-uqj8gsv7a","name":"Python Tutorial: Pathlib - The Modern Way to Handle File Paths"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/how-to-convert-a-python-script-into-a-web-app-a-product-others-can-use-wsvxksput","name":"How to convert a Python script into a web app, a product others can use"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/html-and-css-foundations-for-python-developers-real-python-jb3h19ltt","name":"HTML and CSS Foundations for Python Developers – Real Python"},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/multi-factor-authentication-in-django-lgeelooim","name":"Multi-factor authentication in django"},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/htmx-playground-cblbv4bae","name":"HTMX Playground"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/database-testing-with-fixtures-and-seeding-aacsqie4k","name":"Database testing with fixtures and seeding"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/how-to-secure-your-django-app-best-practices-and-code-examples-8125eeis1","name":"How to Secure Your Django App – Best Practices and Code Examples"},{"@type":"ListItem","position":25,"url":"https://daily.dev/posts/developing-multi-modal-bots-with-django-gpt-4-whisper-and-dall-e-pqkx0ibev","name":"Developing Multi-Modal Bots with Django, GPT-4, Whisper, and DALL-E"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"Django","item":"https://daily.dev/tags/django"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/django/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

