0
0
mirror of https://github.com/django/django.git synced 2024-11-30 07:06:18 +01:00

Fixed #5544 -- Fixed typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2007-09-19 23:32:53 +00:00
parent 5c55cc83a7
commit d022e2581d

View File

@ -198,7 +198,7 @@ Using sessions out of views
An API is available to manipulate session data outside of a view::
>>> from django.contrib.sessions.engines.db import SessionStore
>>> from django.contrib.sessions.backends.db import SessionStore
>>> s = SessionStore(session_key='2b1189a188b44ad18c35e113ac6ceead')
>>> s['last_login'] = datetime.datetime(2005, 8, 20, 13, 35, 10)
>>> s['last_login']