#9867: Test client login requires sessions framework to be installed ---------------------------------------------+------------------------------ Reporter: David Sauve <[email protected]> | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------------------------+------------------------------ Perhaps this is obvious, but the documentation really should mention that in order to use the ``django.test.client login`` method with the default auth backend, the ``INSTALLED_APPS`` must contain ``django.contrib.sessions``.
Also, the return value of ``True`` or ``False`` for this method doesn't give any indication of why it has failed. Maybe it should raise an exception if sessions is not installed instead of simply returning ``False``? -- Ticket URL: <http://code.djangoproject.com/ticket/9867> 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 -~----------~----~----~----~------~----~------~--~---
