If you keep the default administration path for your Django website, you make it possible for hackers to perform brute-force attacks and try to log in with different passwords from their lists. There is an app called django-admin-honeypot that allows you to fake the login screen and detect those brute-force attacks. In this recipe, we'll learn how to use it.
Using django-admin-honeypot
Getting ready
We can start with any Django project that we want to secure. For example, you can extend the project from the previous recipe.
How to do it...
Follow these steps to set...