equal
deleted
inserted
replaced
54 raise forms.ValidationError("This user does not exist.") |
54 raise forms.ValidationError("This user does not exist.") |
55 |
55 |
56 return user_entity |
56 return user_entity |
57 return wrapped |
57 return wrapped |
58 |
58 |
59 def clean_existing_user_not_equal_to_current(field_name): |
59 def clean_users_not_same(field_name): |
60 """Check if the field_name field is a valid user and is not |
60 """Check if the field_name field is a valid user and is not |
61 equal to the current user. |
61 equal to the current user. |
62 """ |
62 """ |
63 |
63 |
64 def wrapped(self): |
64 def wrapped(self): |