Add unit test and lint

This commit is contained in:
zandercymatics 2024-07-03 14:53:01 -06:00
parent 0edc848473
commit ac4b657dbb
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 85 additions and 1 deletions

View file

@ -99,4 +99,4 @@ class FinishSetupProfileForm(UserProfileForm):
self.fields["full_name"].initial = full_name
# Set full_name as required for styling purposes
self.fields["full_name"].widget.attrs['required'] = 'required'
self.fields["full_name"].widget.attrs["required"] = "required"