For using file-based sessions, you have to set the setting of SESSION_ENGINE to django.contib.sessions.backends.file
You will also have to make sure that your web server has permissions to read and write the directory of the session file.
There are 3 more ways to configure session engine in Django; Database-backed sessions, Cached sessions, and Cookie-based sessions.