#11475: test.Client.session.save() raises error for anonymous users ----------------------------------------+----------------------------------- Reporter: egma...@gmail.com | 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 <egma...@gmail.com>):
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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---