SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit a67dd883 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Update error message when cleaning Profiles merge form

parent eeedebf4
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,8 @@ class ProfileMergeForm(forms.Form): ...@@ -98,7 +98,8 @@ class ProfileMergeForm(forms.Form):
if self.cleaned_data['to_merge'].has_contributor and \ if self.cleaned_data['to_merge'].has_contributor and \
self.cleaned_data['to_merge_into'].has_contributor: self.cleaned_data['to_merge_into'].has_contributor:
self.add_error(None, 'Each of these two Profiles has a Contributor. ' self.add_error(None, 'Each of these two Profiles has a Contributor. '
'Cannot merge. A ProfileNonDuplicate instance should be created; ' 'Cannot merge. If these are distinct people or if two separate '
'accounts are needed, a ProfileNonDuplicate instance should be created; '
'contact techsupport.') 'contact techsupport.')
return data return data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment