Removed an unwanted print
This commit is contained in:
		
					parent
					
						
							
								ee5150dc6e
							
						
					
				
			
			
				commit
				
					
						94a5987985
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -485,7 +485,6 @@ class SSHKeyCreateView(LoginRequiredMixin, FormView): | ||||||
|         return HttpResponseRedirect(self.success_url) |         return HttpResponseRedirect(self.success_url) | ||||||
| 
 | 
 | ||||||
|     def post(self, request, *args, **kwargs): |     def post(self, request, *args, **kwargs): | ||||||
|         print(self.request.POST.dict()) |  | ||||||
|         form = self.get_form() |         form = self.get_form() | ||||||
|         required = 'add_ssh' in self.request.POST |         required = 'add_ssh' in self.request.POST | ||||||
|         form.fields['name'].required = required |         form.fields['name'].required = required | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue