Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

accessing data on django sessionstore

>>> from django.contrib.sessions.models import Session
>>> s = Session.objects.get(pk='2b1189a188b44ad18c35e113ac6ceead')
>>> s.expire_date
datetime.datetime(2005, 8, 20, 13, 35, 12)
Source by django-book.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #accessing #data #django #sessionstore
ADD COMMENT
Topic
Name
6+6 =