0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00

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

View File

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