diff --git a/docs/source/customizing_forms.rst b/docs/source/customizing_forms.rst index 8709650a..f59bf553 100644 --- a/docs/source/customizing_forms.rst +++ b/docs/source/customizing_forms.rst @@ -133,7 +133,7 @@ Optionally, if you need to add form fields to a Flask-User form, you will need t # Configure customized forms self.RegisterFormClass = CustomRegisterForm - self.UserProfileFormClass = CustomUserProfileForm + self.EditUserProfileFormClass = CustomUserProfileForm # NB: assign: xyz_form = XyzForm -- the class! # (and not: xyz_form = XyzForm() -- the instance!)