o
    	ëwh)  ã                   @   s    d dl Z d dlmZ dd„ ZdS )é    N)Úsettingsc              
   C   sž   z7|d }t jd tt jƒ d tt jƒ d tt jƒ d t| ƒ d t|ƒ d tt jƒ }t |¡}W dS  t	yN } zt
|ƒ W Y d }~d	S d }~ww )
Nz> is your One Time Password(OTP) For Signup. Thank You 18STORESz	username=z
&password=z&from=z&to=z&msg=z &type=1&dnd_check=0&template_id=TF)r   ÚSMS_HOSTÚstrÚSMS_USERNAMEÚSMS_PASSWORDÚSMS_FROMÚOTP_TEMPLATEÚrequestsÚgetÚ	ExceptionÚprint)ÚmobileÚotpÚmessageÚurlÚresponseÚe© r   ú</var/www/html/DRIVERZZ_DRIVER_APIS/authentication/helpers.pyÚsend_otp_to_phone   s   V
€þr   )r	   Údjango.confr   r   r   r   r   r   Ú<module>   s    