Ran
|
Jobs
1
|
Files
932
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
feat(mfa): allow overriding form of `GenerateRecoveryCodesView` Squashed commit of the following: commit b6c6d3f4e Author: Eyal Cherevatsky <eyal.ch@icloud.com> Date: Fri Jun 21 21:25:14 2024 +0300 feat(mfa): allow overriding form of `GenerateRecoveryCodesView` Even though `GenerateRecoveryCodesForm` has no fields, one possible use case for overriding it is setting the [`default_renderer`](https://docs.djangoproject.com/en/5.0/ref/forms/api/#django.forms.Form.default_renderer) property. Additionally, these changes make `GenerateRecoveryCodesView` more consistent with other views that override `form_class`. Currently, `GenerateRecoveryCodesView` is the only view that overrides `form_class` _without_ overriding `get_form_class` (and thus making the form configurable).
3 of 3 new or added lines in 1 file covered. (100.0%)
20053 of 20936 relevant lines covered (95.78%)
0.96 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 10129834272.1 | 932 |
95.78 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|