Redirecting users on creation of accounts to my virtual machines page
This commit is contained in:
		
					parent
					
						
							
								ea9e62db37
							
						
					
				
			
			
				commit
				
					
						537e350c8c
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -639,7 +639,7 @@ class OrderConfirmationView(DetailView):
 | 
			
		|||
        response = {
 | 
			
		||||
            'status': True,
 | 
			
		||||
            'redirect': reverse(
 | 
			
		||||
                'hosting:dashboard') if request.user.is_authenticated() else reverse(
 | 
			
		||||
                'hosting:virtual_machines') if request.user.is_authenticated() else reverse(
 | 
			
		||||
                'datacenterlight:index'),
 | 
			
		||||
            'msg_title': str(_('Thank you for the order.')),
 | 
			
		||||
            'msg_body': str(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue