
    
Ug                     8    d dl mZ d dlZd dlT d dlZd dlZd ZdS )    )FileSystemStorageN)*c                 .   d}t          |          }d}t          j                            | j                  d         }t                      }t          |          t          |          z   }|                    ||           }t          |          dz   |z   S )Nzmedia/user_profile)locationz/media/user_profile   /)r   ospathsplitextnamerandomStringFunctionForImagestrsave)imagefullPathfs	fullPath2filetypetheNametheImageNamefilenames           8/var/www/html/Alfredo_demo/alfredo/user_app/functions.pyuploadTheProfiler      s    
*** GUZ((+	%	'	''ll3x==(GGL%((Is8##    )django.core.files.storager   r	   admin_panel.common_functionsrandomstringr    r   r   <module>r       s]    7 7 7 7 7 7 				 * * * *        	$ 	$ 	$ 	$ 	$r   