better response messsage
This commit is contained in:
		
					parent
					
						
							
								e1b4aac222
							
						
					
				
			
			
				commit
				
					
						8a8cc5d20e
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -626,8 +626,7 @@ class UserCreateAPI(APIView):
 | 
				
			||||||
            mail.send()
 | 
					            mail.send()
 | 
				
			||||||
        except Exception as e:
 | 
					        except Exception as e:
 | 
				
			||||||
            return Response('Failed to send the email, please try again', 400)
 | 
					            return Response('Failed to send the email, please try again', 400)
 | 
				
			||||||
        return Response('An email with activation link has been sent in order to complete your registration.\n\
 | 
					        return Response('An email with activation link has been sent in order to complete your registration. Please check your inbox.', 200)
 | 
				
			||||||
        \nPlease check your inbox.', 200)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class SeedRetrieveCreate(APIView):
 | 
					class SeedRetrieveCreate(APIView):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue