Fix rendering of the OAuth application client secret widget.
Review Request #12466 — Created July 12, 2022 and submitted
This change mirrors a similar one to
django.forms.widgets.CopyableInputWidget. A change in Django's form
rendering meant that calling the TextInput superclass'
was still using
self.template_name, which would end up rendering two
copies of the template, one of which was broken. This change makes it so
we explicitly render the text input template for that part of the
- Loaded the OAuth application edit form. Saw that the client secret
widget displayed correctly, and that the "Regenerate client secret"
button worked correctly.
- Ran unit tests on all supported versions of Python.
Can you verify unit tests pass for Python 3.7-3.10?