#10899: easier manipulation of sessions by test client
---------------------------------------+-----------------------------------
Reporter: tallfred | Owner: nobody
Type: New feature | Status: reopened
Milestone: | Component: Testing framework
Version: SVN | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
---------------------------------------+-----------------------------------
Changes (by prestontimmons):
* needs_better_patch: 1 => 0
* needs_docs: 1 => 0
Comment:
Attached is an updated patch against r16086. I'd appreciate if somebody
could review this.
My questions are:
1) Are the doc's I added enough? What needs to be said on this? Should the
old example be removed?
2) Since the session is being cached on the Client, problems arise with
functions that change the session key. This patch makes sure the session
key is updated both when a view is called and when the login/logout Client
methods are called. Are there any other functions that change the session
key I need to be aware of?
Thanks.
--
Ticket URL: <http://code.djangoproject.com/ticket/10899#comment:12>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.