mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 15:50:03 +01:00 
			
		
		
		
	linters
This commit is contained in:
		| @@ -78,7 +78,6 @@ class UserUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView): | ||||
|         if not self.object.profile.report_frequency: | ||||
|             del profile_form.fields["last_report"] | ||||
|  | ||||
|          | ||||
|         fields_to_check = list(profile_form.fields.keys()) | ||||
|  | ||||
|         # Delete the fields for which the user does not have the permission to modify | ||||
| @@ -88,7 +87,6 @@ class UserUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView): | ||||
|  | ||||
|         context['profile_form'] = profile_form | ||||
|  | ||||
|  | ||||
|         return context | ||||
|  | ||||
|     @transaction.atomic | ||||
|   | ||||
		Reference in New Issue
	
	Block a user