Contributions

Article
Your Django app is up. You've got users. Your users are hitting bugs. How do you debug to fix the problems? That's the focus of this Understand Django article.
Article
You want to protect your users' privacy, right? The goal is noble and users demand it, but how do you do it? In this Understand Django article, we'll look at some areas that improve the security of your application.
Article
How do you make your Django app fast? You measure what is slow, scale your system when necessary, and use a combination of fast database queries and strategic caching. In this Understand Django article, we'll explore those topics and more to help you get a performant Django app.
Article
With this Understand Django article, you'll learn about commands. Commands are the way to execute scripts that interact with your Django app. We'll see built-in commands and how to build your own commands.
Article
Maybe your Django app needs to handle files from users like profile pictures. Accepting files from others is tricky to do safely. In this Understand Django article, we'll see the tools that the framework provides to manage files safely.
Article
All Django apps need to be configured in order to run properly. In this Understand Django article, we will dig into how Django lets you configure your project using a settings module. We'll also look at ways to be extra effective with settings.
Article
How does Django know when a user is logged in?  Where can the framework store data for a visitor on your app?  In this Understand Django article, we'll answer those questions and look at a storage concept in Django called sessions.
Article
You're ready to take the site you developed and share it with the world.  What steps should you take to prepare your Django project for life on the web?  That's the focus of this Understand Django article.
Article
How do you confirm that your website works?  You could click around and check things out yourself, or you can write code to verify the site.  This article will show you why you should prefer the latter.  In this Understand Django article, we'll study automated tests to verify the correctness of your site.
Article
How do you use htmx (the lightweight JavaScript library that uses HTML markup) in Django? This article shows how and provides an example usage.
Article
If you're into Python and new to web development, you may have questions about Python's popular web application packages: Django and Flask. This article compares the two so you can figure out which one might be a better fit for you.
Article
New to Django and uncertain of what to use? This article explains which version of Django you should use.
Article
The topic for this Understand Django article is middleware.  We'll see what middleware is, what it is used for in a Django project, and how to write your own.
Article
Have a Django app on Heroku and want to use Tailwind CSS? In this tutorial, you'll see how to configure Tailwind for a Django project and set up Heroku to build your CSS file.
Article
Without using a subdomain, Django's static files, or a reverse proxy, can you build a statically generated blog into your Django app?  Yes!  We'll see how to create a static blog in Hugo and add it to a Django project.
Article
This article explores authentication and authorization. We'll see how Django makes your life easier by giving you tools to help your web application interact with the users of your site.
Article
When customers report their thorniest problems and all of your diagnostic tools have failed you, how can you help?  In this article, we explore a technique and a tool for Django apps that can help you swoop in and save the day.
Article
This article explores applications.  Applications are core structural elements of a Django project.  We will see the composition of an app and how to use them effectively.
Article
This article will look at how maintainers of an application can manage their data through Django's built-in administrative tools.  We will see how to build admin pages and customize the admin tools to help teams navigate their apps.
Article
In this article, we cover tools that you can reach for to do automated testing when building a Django application. You will also see some common techniques that you can apply to every project.
Article
In this article, we will see how to store data into a database with Django models.  The article covers how models act as an interface to let your application store and fetch data.
Article
How do users provide data to your website so you can interact with them?  We can answer that question by exploring Django's form system, and the tools that Django provides to simplify your site as you engage with your users.
Article
When your Django application sends back a response with your user interface, templates are the tool you'll use to produce that user interface. This article looks at what templates are and how to use them!
Article
Django URLs expect to send a response back to a user.  Where does that response come from?  A Django view!  This article looks into the fundamentals of views and how to use them in your project.
Article
How does a Django site know where to send requests? You have to tell it! In this next article in the Understand Django series, we look at URLs and how to let your users get to the right place.
Article
Django helps you build websites in Python. How does it work? In this series, we’ll explore Django from top to bottom to show you how to build the website you’ve wanted. We’ll start from the beginning with the browser.
Article
DEV is a great community for developer content. If you have articles that you don’t want live all at once, how can you publish on a schedule automatically? In this article, let’s use GitHub Actions to get your content online on your timeline.
Article
Are you using Python and thinking about containers to deploy your app? Before you jump to Docker, consider other package formats that may fit better. This article explores one such format from LinkedIn.
Article
Have you ever needed to mock out a third party service for use in a large testing environment? I recently did, and I used Starlette, a new async Python web framework, to do it. See what Starlette offers!
Article
How can you excite a kid about computers? One way is through video games! This article focuses on the experience of teaching a six year old some programming by using Pygame Zero.

Showing the last 30 only...