Removed unused import in docs/topics/http/sessions.txt

This commit is contained in:
Tim Graham 2013-11-22 15:28:22 -05:00
parent 18185724e6
commit f0fc1690b4
1 changed files with 0 additions and 1 deletions

View File

@ -497,7 +497,6 @@ Using sessions out of views
An API is available to manipulate session data outside of a view:: An API is available to manipulate session data outside of a view::
>>> from django.contrib.sessions.backends.db import SessionStore >>> from django.contrib.sessions.backends.db import SessionStore
>>> import datetime
>>> s = SessionStore() >>> s = SessionStore()
>>> # stored as seconds since epoch since datetimes are not serializable in JSON. >>> # stored as seconds since epoch since datetimes are not serializable in JSON.
>>> s['last_login'] = 1376587691 >>> s['last_login'] = 1376587691