Skip to content

Commit

Permalink
Removal of exceeding return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
berk76 committed Mar 8, 2024
1 parent bd33a62 commit d25a024
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion svjis/articles/views_personal_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def personal_settings_save_view(request):
messages.error(request, f"{_('Form validation error')}: {error}")
for error in user_profile_form.errors:
messages.error(request, f"{_('Form validation error')}: {error}")
return redirect((personal_settings_edit_view))

return redirect(personal_settings_edit_view)

Expand Down

0 comments on commit d25a024

Please sign in to comment.