
    h                     .    S SK JrJr  S SKJr  S SKrS rg)    )renderredirect)settingsNc                    SU R                   ;  a  [        S5      $ U R                   R                  SS5      nU(       a}  [        R                  R                  [        R                  SU5      n[        R                  R                  U5      (       a  [        R                   SU 3nO'[        R                   S3nO[        R                   S3nU R                   R                  S5      U R                   R                  SS5      U R                   R                  S	S5      U R                   R                  S
S5      US.n[        U SSU05      $ )Nuser_id/user_img profilezprofile/zprofile/default.png	user_name
user_email	user_area)r   r   r   r   r	   zusuarios.htmluser)sessionr   getospathjoinr   
MEDIA_ROOTexists	MEDIA_URLr   )requestr	   img_pathuser_img_url	user_datas        (C:\web_apps\bi\proyect\usuarios\views.pyusuarios_viewr      s   '} "":r2H77<< 3 3YI77>>(##&001(DL&0011DEL",,--@A ??&&y1__((b9oo)),;__((b9 I '?VY,?@@    )django.shortcutsr   r   django.confr   r   r    r   r   <module>r"      s    -   	Ar   