Contributions

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.
Article
Web development is full of tools that claim to help you develop your perfect application. What’s the right tool? Let’s explore options like Docker, Vagrant, and honcho to see which tool can work for you on your next (or current) web app.
Article
How does the Python program run your code? How can you understand how your code runs? This post explores Abstract Syntax Trees (AST), a vital part of how Python evaluates code before running it. We’ll use an AST in a practical example to show you how to learn more about your code for your benefit.