Django middleware

Is a way to process requests globally before they reach the view or after the view has processed them. Middleware is a framework of hooks into Django's request/response processing and is used for several purposes.

heart
0
3 connected dots
0

Used in

In this article I will show how I implemented commenting on my website. Commenting, which is available to both anonymous and registered users.
Let me make a reservation right away that the authentication system that you and I will write is not based on the built-in Django application, django.contrib.auth. This will be a separate application with a separate model for it.
SEO recommendations from Google were used to improve the paginator and infinite scroll using replace and push states for the URL. A tag system was also developed for the site. A gallery was added.
In this article you will know commands how to create new django app, how to add model to app and how to configure it.
You will know how to create a simple and basic django project. How to set up a django project and how to run it.