Django

57 cards
Django related articles
Main Content Image
python.plainenglish.io
Mastering Django Models: 10 Expert-Level Tips and Tricks

Step up your Django game by mastering its powerful models with these 10 expert-level tips and tricks, going beyond the basics to unlock its full potential.

Main Content Image
medium.com
The Django Admin Documentation Generator | by Mehedi Khan | Django Unleashed | Feb, 2025 | Medium

Django provides a powerful and customization admin interface that simplifies content management. But did you know Django also includes a built-in admin documentation generator? This feature can help…

Main Content Image
medium.com
Top 5 Django Admin Customization Packages to Supercharge Your Dashboard! | by Aashish Kumar | Feb, 2

Django’s built-in admin panel is one of its most powerful features, but let’s be honest — it looks simple and has limited functionality out of the box. If you want to make the Django admin more…

Main Content Image
bigprogrammer.medium.com
Best Practices for Structuring a Django Project

Discover a Django boilerplate that follows industrial standards to help you organize your projects and say goodbye to chaos.

Main Content Image
medium.com
Advanced Django Techniques to Improve Efficiency and Maintainability of code

Discover advanced Django techniques to streamline your code and boost efficiency, while maintaining its scalability and maintainability.

Main Content Image
realpython.com
Get Started With Django: Build a Portfolio App – Real Python

In this step-by-step tutorial, you'll learn the basics of creating powerful web applications with Django, a Python web framework. You'll build an example portfolio application to showcase your web development projects.

Main Content Image
medium.com
The Ultimate Django Commands Cheat Sheet: Everything You Need

Master Django's command-line interface with this comprehensive list of commands, including their usage and examples.

Main Content Image
medium.com
Day 3: Advanced Django ORM Techniques and Database Optimization | by Mathur Danduprolu | Medium

Master advanced Django ORM techniques and database optimization to take your Python development skills to the next level. In this article, we'll explore the ins and outs of the Django ORM and how to optimize your database queries for faster performance.

Main Content Image
medium.com
Base 5–3rd party authentication in Django

Learn how to integrate third-party authentication in Django with django-allauth, including Google Sign-On implementation, customization, and deployment

Main Content Image
medium.com
Base 4 — Deploy Django on DigitalOcean

Learn how to deploy a Django project to DigitalOcean's App Platform, including Gunicorn setup, static files configuration, PostgreSQL integration, and production environment optimization.

Main Content Image
medium.com
Base 3 — Lint and test with GitHub Actions | by Piotr Zalewa | Django Unleashed | Medium

A comprehensive guide on setting up GitHub Actions to automate linting and testing for Django projects, covering Ruff, Mypy, and Pytest configuration with caching strategies for optimized CI/CD pipelines.

Main Content Image
medium.com
Django with Poetry. I like Poetry. It gives me confidence...

Learn how to create a Django project with ease using Poetry for dependency management and Pytest for testing. Discover the confidence boost that comes with using Poetry.

Main Content Image
medium.com
Base 2 — Linting Django. I enjoy the beauty of code, so I’ve… | by Piotr Zalewa | Django Unleashed |

Learn how to ensure the quality and consistency of your Django codebase with a thorough guide to implementing robust linting using Ruff, Pylint, Mypy, and pre-commit.

Main Content Image
medium.com
Exploring django.utils: Essential Utilities for Django Development | by Ewho Ruth | Feb, 2025 | Medi

These utilities simplify common web development tasks such as encoding URLs, handling HTTP headers, formatting text, managing time zones, safely rendering HTML, and performing translations. In this…

Main Content Image
medium.com
Don’t Forget To Use These 6 Effective Django Utilities In Your Next Python Project | by Yash Prakash

Django is admittedly one of the most popular full-stack frameworks in use. It has a great community of creators, developers, maintainers, and users ranging from indie hackers to large companies. In…

Main Content Image
medium.com
Advanced Django Tutorial: Writing Reusable Apps

Transform your Polls app into a reusable Python package, sharing it with others and reusing it across your projects.

Main Content Image
medium.com
Django Development: 14 Best Practices You Should Always Follow!

Mastering Django development with 14 essential best practices to improve your project's performance, scalability, and maintainability.

Main Content Image
medium.com
Django with HTMX: The Future of Server-Rendered Apps?

Explore how HTMX is changing the game in server-rendered apps, enabling smooth interactions and efficient rendering with Python's Django framework.

Main Content Image
medium.com
10 Django Tips Every Beginner Developer Should Know (But Probably Doesn’t!) | by Priyanshu Rajput |

Unleash the power of web development with Django, a superpower that lets you create simple models and turn them into full-fledged web applications easily.

Main Content Image
medium.com
Managing Database Connections in FastAPI: Best Practices

A comprehensive guide on managing database connections in FastAPI, covering best practices and real-world examples.

Main Content Image
faun.pub
Mastering API Documentation in Python FastAPI: Best Practices for Maintainable and Readable Code | b

Learn effective API documentation techniques in Python using FastAPI to improve code readability and maintainability.

Main Content Image
medium.com
Advanced Django Tutorial: A Real-World Guide for Beginners | by Ewho Ruth | Feb, 2025 | Medium

Django is a powerful web framework that simplifies web development with Python. Whether you’re a beginner taking your first steps or an advanced user looking to refine your skills, this guide walks…

Main Content Image
medium.com
Say Goodbye to Requirements.txt: Next-Level Dependency Management for Django 🚀 | by Sanjay Prajapat

Learn how to step up your Django project's dependency management game and say goodbye to the traditional requirements.txt file, in this article by Sanjay Prajapati.

Main Content Image
medium.com
Django’s Generic Views: Why Reinvent the Wheel?

Discover how Django's generic views can save you from tedious boilerplate code and let you focus on what matters most – building awesome applications.

Main Content Image
medium.com
Advanced Tutorial: How to Write Reusable Django Apps

Discover how to build flexible and reusable Django apps, maximizing productivity and minimizing effort for your future projects.

Main Content Image
aashishkumar12376.medium.com
Master Django Settings Like a Pro with Code Splitting!

Streamline your Django project's settings with code splitting and keep your project organized. Learn how to manage settings like a pro!

Main Content Image
foysalff.medium.com
12 Advanced Django Interview Questions for Experienced Developers | by The CodeCrafter | Medium

Discover expert-level Django interview questions that test your skills in performance, scalability, and advanced features to land a senior Django role.

Main Content Image
foysalff.medium.com
Customizing ForeignKey Choices in Django Admin: Tailoring Forms Based on User Roles | by The CodeCra

Discover how to tailor forms in Django Admin using the formfield_for_foreignkey method. Learn how to customize ForeignKey fields to display only relevant options for specific user roles.

Main Content Image
foysalff.medium.com
Understanding Django-Advanced Model Inheritance.

Discover Django's powerful model inheritance feature and learn how it can simplify your web application development by creating models that share common fields and behaviors.

Main Content Image
medium.com
Django Tutorial: Multiple Record Custom Actions Mixin

Learn how to create a custom mixin for your Django application that allows multiple record actions

Main Content Image
medium.com
Writing a custom action CBV. Learn how to create a CBV mixin to supercharge your Django views

Discover how to leverage mix-ins to enhance your Django CBVs, streamlining your coding experience and maximizing efficiency. Building upon the previous article's foundation, this piece will dive deeper into the world of setup and dispatch methods, exploring their significance and potential applications in Django development.

Main Content Image
medium.com
Mastering Django CBVs: The Hidden Power of setup() and dispatch()

Discover the powerful setup() and dispatch() methods in Django CBVs, which provide flexibility and built-in functionality to elevate your web development experience.

Main Content Image
medium.com
10 Common Django Deployment Mistakes and How to Avoid Them

In this article, Erik takes a closer look at 10 common Django deployment mistakes and provides practical advice on how to avoid them, ensuring a smoother and more efficient deployment process.

Main Content Image
medium.com
Mastering DateTime in Django with Pendulum – The Smarter Way to Handle Timezones 🕒 | Django Unleash

Stop struggling with datetime DateTime in Django! Discover how Pendulum simplifies timezone management, parsing, and formatting with intuitive, readable code, making your development journey smoother.

Main Content Image
medium.com
10 Django Features You’re Not Using But Should Be!

Discover the untapped potential of Django, the popular Python web framework. Explore 10 essential features that can supercharge your development experience and learn how to maximize your productivity.

Main Content Image
medium.com
Integrating Django with React for a Modern Web App | by Farad Alam | Medium

Learn how to create a modern web app that combines the power of Django and React, enabling you to build robust and interactive applications that engage users.

Main Content Image
medium.com
How to Boost Django Performance with Materialized Views | Ultimate Guide | Django Unleashed

Learn how to supercharge your Django app with materialized views, speeding up complex queries and improving dashboard performance.

Main Content Image
medium.com
Implementing Pagination in a Frontend App (React + Django API)

Learn how to set up pagination in a Django REST Framework and integrate it with a React frontend to create a paginated product list. Discover the steps to fetch data from your Django API using React and Axios.

dimasyotama.medium.com
Is Django Dead in 2025? The Uncomfortable Truth About This Python Giant | by Dimas Yoga Pratama | Me

The whispers about Django's fate in the web development arena, debunked. Explore the truth behind the buzz surrounding newer frameworks and their impact on this Python giant.

medium.com
If You’re Not Using Django DRF Serializers Properly, You’re Building a Time Bomb

Learn how to optimize Django DRF Serializers, the backbone of your API, to ensure structure, security, and sanity. Avoid building a time bomb and master the art of API development.

medium.com
Common Django Mistakes Almost Every Developer Makes (Yes, Even You)

Learn how to avoid common Django mistakes that even experienced developers make, and improve your development workflow with this informative guide.

medium.com
Third-Party Packages for Advanced Django REST Framework Serialization | by Ewho Ruth | Django Unleas

While Django REST Framework (DRF) provides powerful serialization features, third-party packages can extend its capabilities for specific use cases, such as nested routing and generic foreign key…

python.plainenglish.io
⚡ Speed Up Your Django App with These 7 QuerySet Tricks | by Priyanshu Rajput | Apr, 2025 | Python i

Discover how to optimize your Django app's performance by mastering QuerySets. Learn 7 speed-up tricks to improve your app's database interactions and responsiveness.

joegsuero.medium.com
Django Unpacked: The Structure Every Developer Should Know (Part 2)

Get insights into the inner workings of Django by exploring its structure. This article is part 2 of a series and aims to demystify the framework for developers.

coderraj07.medium.com
Complete Django Backend Setup Guide: From Project Initialization to Advanced Views and Authenticatio

Learn how to build scalable Django REST APIs with comprehensive guide covering project initialization, migrations, class-based views, pagination, authentication, and Celery integration.

python.plainenglish.io
🕵️‍♂️ The Most Underrated Features in Django You Probably Don’t Use

Uncover Django's hidden gems and streamline your development workflow. From pretty URLs to simplified debugging, this guide reveals the secrets to making your life as a developer easier and more efficient.

python.plainenglish.io
Advanced Authentication Strategies in Django REST Framework (DRF) | by Ewho Ruth | Apr, 2025 | Pytho

Discover advanced authentication strategies in Django REST Framework (DRF) for tailored security and usability. Explore beyond basic authentication and dive into the world of Django's advanced mechanisms.

python.plainenglish.io
Building a Scalable App with Django and DRF: Applying Best Practices in Real-World Scenarios | by Na

In this article, Naufal Ichsan shares best practices for building scalable and maintainable backend systems using Django and Django Rest Framework. Learn how to tackle common challenges and optimize your application for real-time performance.

medium.com
🚀 Django Deployment Demystified. Gunicorn, uWSGI, Nginx, Docker &… | by Priyanshu Rajput | May, 202

You built an amazing Django app. It works locally. You’re proud. But now comes the big question: How do I deploy this thing? In this guide, we’ll walk through modern Django deployment using Gunicorn…

medium.com
Django Tutorial: Writing a Breadcrumb CBV Mixin

Learn how to create reusable breadcrumbs with Django's CBVs and Mixins, and discover how this powerful combination can simplify your view logic and improve user experience.

medium.com
Supercharge Your Django CBVs with a Custom Action Mixin

Learn how to elevate your Django views with a tailored mixin for enhanced functionality and flexibility. Building on the concepts explored in previous articles, this piece provides expert guidance on crafting a custom action mixin to unlock the full potential of your CBVs.

medium.com
Mastering Django CBVs: The Hidden Power of setup() and dispatch() | by Adrien Van Thong | Django Unl

Discover the flexibility and built-in functionality of Django's class-based views with a focus on the setup() and dispatch() methods.

adrienvanthong.medium.com
Simplify your Django project with custom admin actions | by Adrien Van Thong | Medium

One of the many ways in which Django makes administrating our projects easier is by providing us with the Django Admin portal. Every Django user will have used this at one point — a visual entry…

python.plainenglish.io
8 Django Mistakes That Cost Me Years and How to Avoid Them | by Huzaifa Zahoor | Jun, 2025 | Python

Learn how to avoid common Django mistakes that can cost you years of development time. Get insider tips on best practices for building efficient Django apps, templates, and APIs.

medium.com
The Backend Framework Battle: FastAPI vs Node.js vs Django REST Framework | by Iamabdullah | Jun, 20

The backend world is changing fast, and three frameworks are leading the way: FastAPI, Node.js, and Django REST Framework (DRF). After digging into performance stats, real-world use cases, and…

medium.com
Multiple Database Support in Django and Real-World Use Cases

Discover how Django handles multiple databases, making it a great choice for modern applications and scalable projects. Explore real-world use cases and learn how to implement this powerful feature in your own projects.

Main Content Image
medium.com
The Django Logging Guide: Debug Production Like a Pro

Master Django logging: configure loggers, handlers, formatters. Debug production issues, integrate Sentry, and build comprehensive monitoring dashboard.