Removed extra blanklines
Used django random password function for verification code generation
Fixed getting SITE_NAME and DOMAIN from database rather than settings.py