Adding robots.txt to a Django site
Yesterday we added sitemaps as part of SEO. Today, we need a file called robots.txt to tell bots where they can't go on our website.
Read articleExplore. Learn. Build.
Django is a modern framework for building web applications using Python. This is my favorite backend framework and I recommend it to everyone I talk to about development.
Find your next idea.
From the archive
Showing 85–96 of 98
Yesterday we added sitemaps as part of SEO. Today, we need a file called robots.txt to tell bots where they can't go on our website.
Read articleSitemaps are an important part of SEO. In this guide, I will show you how to generate one using Django.
Read articleWelcome back to the second part of this series. In this part, we will do some more backend code.
Read articleIn this video, I will show you how to build a simple CRUD (create, read, update and delete) app using Django 3.
Read articleDjango's ORM is fast, powerful and easy to use. The problem is that it's easy to make mistakes. In this post I'll talk a little bit about optimizations.
Read article
Learn how to quickly set up a simple blog using Django 3. The blog will have posts and comments.
Read articleDesigning good Django models is very important when it comes to readability and to maintainability. In this post I'll share some good tips on how to implement some good techniques.
Read articleDjango and Vue.js are my two favorite frameworks for building the best websites. In this post I will tell you everything you need to know to use them together.
Read articleIt's normal to have ForeignKeys field in ModelForm. And if this is a hidden field, the save function will crash.
Read articleIn this guide, I will show you how to create a simple modelform using Django.
Read articleDjango has some shortcuts to help you speed up your development process even more. In this post we'll cover a few of them.
Read articleSometimes you want to select a list of random objects from a QuerySet. Using a built in function from Python, this is a really simple task.
Read articleKeep exploring
Put what you've learned to work in a complete project.