diff --git a/basetheme_bootstrap/views.py b/basetheme_bootstrap/views.py index 92da03906b35f126e10e57334d3482fecbb91855..2b35b2ec6f8cd84a6ea5f64d10a6fd0f57ad48b3 100644 --- a/basetheme_bootstrap/views.py +++ b/basetheme_bootstrap/views.py @@ -122,8 +122,6 @@ def user_delete(request): "administrator to solve the issue.\nMessage:\n" + str(e))) except Exception as e: messages.error(request, e) - else: - messages.error(request, 'Please correct the error below.') else: form = UserDeleteForm(instance=request.user) return render(request, 'registration/small_form_host.html', {