#25808: Setting to allow django.test.Client default requests to follow=True
-----------------------------------+--------------------------------------
Reporter: awwester | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Comment (by timgraham):
I agree we shouldn't add a setting. What we could do a `default_follow`
class attribute to `Client` which would default to "unset" (e.g. `None`).
Then we'd also change the default of `follow` on the request method to
`None` and have them use `follow if follow is not None else
self.default_follow if self.default_follow is not None else None`. Is it
worth it?
--
Ticket URL: <https://code.djangoproject.com/ticket/25808#comment:3>
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/066.ab20852a04f8a2ed181e55c95422ea73%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.