#11475: test.Client.session.save() raises error for anonymous users
----------------------------------------+-----------------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: 1.1-beta-1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Comment (by Manoj Govindan <[email protected]>):
Replying to [comment:8 simonredfern]:
> I just came across the same problem. Feels like a Bug with a capital B
to me. Can't get the workaround to work either.
I created a dummy, non-staff user and logged him in inside my `setUp()`.
Not clean or ideal, but works for me as I don't have any code based on
user identity (yet). I don't know your scenario but this might be worth a
try.
--
Ticket URL: <http://code.djangoproject.com/ticket/11475#comment:9>
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
-~----------~----~----~----~------~----~------~--~---