Django

Code

Ticket #5544 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

django.contrib.sessions.engines.db isn't exist

Reported by: xiaolianyi@gmail.com Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

http://www.djangoproject.com/documentation/sessions/

in Using sessions out of views

has a little wrong,

from django.contrib.sessions.engines.db import SessionStore?

this doesn't work

replace it with

from django.contrib.sessions.backends.db import SessionStore?

it work

Attachments

5544.diff (1.0 kB) - added by adamv on 09/19/07 09:43:36.

Change History

09/19/07 09:43:36 changed by adamv

  • attachment 5544.diff added.

09/19/07 10:47:10 changed by adamv

  • needs_better_patch changed.
  • has_patch set to 1.
  • needs_tests changed.
  • needs_docs changed.

09/19/07 18:32:53 changed by russellm

  • status changed from new to closed.
  • resolution set to fixed.

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

09/19/07 20:03:03 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

There is a 2nd module mistake just a couple lines down from the fixed one.

09/19/07 21:02:22 changed by russellm

  • status changed from reopened to closed.
  • resolution set to fixed.

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


Add/Change #5544 (django.contrib.sessions.engines.db isn't exist)




Change Properties
Action