Django
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.
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…
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…
Discover a Django boilerplate that follows industrial standards to help you organize your projects and say goodbye to chaos.
Discover advanced Django techniques to streamline your code and boost efficiency, while maintaining its scalability and maintainability.
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.
Master Django's command-line interface with this comprehensive list of commands, including their usage and examples.
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.
Learn how to integrate third-party authentication in Django with django-allauth, including Google Sign-On implementation, customization, and deployment
Learn how to deploy a Django project to DigitalOcean's App Platform, including Gunicorn setup, static files configuration, PostgreSQL integration, and production environment optimization.
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.
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.
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.
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…
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…
Transform your Polls app into a reusable Python package, sharing it with others and reusing it across your projects.
Mastering Django development with 14 essential best practices to improve your project's performance, scalability, and maintainability.
Explore how HTMX is changing the game in server-rendered apps, enabling smooth interactions and efficient rendering with Python's Django framework.
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.
A comprehensive guide on managing database connections in FastAPI, covering best practices and real-world examples.
Learn effective API documentation techniques in Python using FastAPI to improve code readability and maintainability.
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…
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.
Discover how Django's generic views can save you from tedious boilerplate code and let you focus on what matters most – building awesome applications.
Discover how to build flexible and reusable Django apps, maximizing productivity and minimizing effort for your future projects.
Streamline your Django project's settings with code splitting and keep your project organized. Learn how to manage settings like a pro!
Discover expert-level Django interview questions that test your skills in performance, scalability, and advanced features to land a senior Django role.
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.
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.
Learn how to create a custom mixin for your Django application that allows multiple record actions
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.
Discover the powerful setup() and dispatch() methods in Django CBVs, which provide flexibility and built-in functionality to elevate your web development experience.
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.
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.
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.
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.
Learn how to supercharge your Django app with materialized views, speeding up complex queries and improving dashboard performance.
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.
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.
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.
Learn how to avoid common Django mistakes that even experienced developers make, and improve your development workflow with this informative guide.
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…
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.
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.
Learn how to build scalable Django REST APIs with comprehensive guide covering project initialization, migrations, class-based views, pagination, authentication, and Celery integration.
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.
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.
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.
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…
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.
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.
Discover the flexibility and built-in functionality of Django's class-based views with a focus on the setup() and dispatch() methods.
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…
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.
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…
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.
Master Django logging: configure loggers, handlers, formatters. Debug production issues, integrate Sentry, and build comprehensive monitoring dashboard.