#20915: Remove django.test.client dependency on django.contrib.auth (and
.sessions?)
-------------------------------------+-------------------------------------
Reporter: ramiro | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: Testing framework | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by mjtamlyn):
What would be the proposed solution here? The client should ideally retain
the ability to do most of these things. Unless I'm mistaken,
`contrib.auth` does not need to be installed for the client to function
properly for general requests. I guess these are "optional" features of
the client which are enabled when contrib.auth is available. It would be
pretty awkward if you had to customise the client every time you wanted to
use this functionality.
Obviously if the general functionality of the client doesn't work without
`auth` then we have a problem we should fix. It may also be worth
considering providing an 'auth-less' version of the test client.
--
Ticket URL: <https://code.djangoproject.com/ticket/20915#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.014102f80042ac36c093faae748ad4bd%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.