Update views.py
This commit is contained in:
		
					parent
					
						
							
								153d83add2
							
						
					
				
			
			
				commit
				
					
						062ca69d9d
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -368,7 +368,7 @@ class SSHKeyListView(LoginRequiredMixin, ListView): | |||
| 
 | ||||
|     def render_to_response(self, context, **response_kwargs): | ||||
|         if not self.queryset: | ||||
|             return HttpResponseRedirect(reverse('hosting:create_ssh_key')) | ||||
|             return HttpResponseRedirect(reverse('hosting:choice_ssh_keys')) | ||||
|         return super(SSHKeyListView, self).render_to_response(context, **response_kwargs) | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue