django set session variable

Solutions on MaxInterview for django set session variable by the best coders in the world

showing results for - "django set session variable"
Beccy
24 Sep 2020
1#!/bin/sh
2
3# clear django_session table
4DJANGO_SETTINGS_MODULE="myproj.settings" \
5  python -c 'from django.contrib.sessions.models import Session; \
6    Session.objects.all().delete()' 
7python manage.py runserver
8
similar questions
queries leading to this page
django set session variable