Описание тега django-sessions
For questions related to Django's session mechanism.
Django provides full support for anonymous sessions. The session framework lets you store and retrieve arbitrary data on a per-site-visitor basis. It stores data on the server side and abstracts the sending and receiving of cookies. Cookies contain a session ID – not the data itself (unless you’re using the cookie based backend or a custom backend).
Reference: https://docs.djangoproject.com/en/stable/topics/http/sessions/