B
    ÒîbÌw  ã            1   @   s"  d dl Z d dlZd dlmZ d dlmZ d dlmZm	Z	 d dl
mZmZ d dlmZ d dlmZ d dlmZ d d	lmZ d d
lmZ d dlmZmZ d dlmZ dddddddgZG dd„ dejƒZG dd„ dejƒZG dd„ dejƒZ d¢dd„Z!edd„ ƒZ"edd„ ƒZ#ed d!„ ƒZ$ed"d#„ ƒZ%ed$d%„ ƒZ&ed&d'„ ƒZ'ed(d)„ ƒZ(ed*d+„ ƒZ)ed,d-„ ƒZ*ed.d/„ ƒZ+ed0d1„ ƒZ,ed2d3„ ƒZ-ed4d5„ ƒZ.ed6d7„ ƒZ/ed8d9„ ƒZ0ed:d;„ ƒZ1ed<d=„ ƒZ2ed>d?„ ƒZ3ed@dA„ ƒZ4edBdC„ ƒZ5edDdE„ ƒZ6edFdG„ ƒZ7edHdI„ ƒZ8edJdK„ ƒZ9edLdM„ ƒZ:edNdO„ ƒZ;edPdQ„ ƒZ<edRdS„ ƒZ=edTdU„ ƒZ>edVdW„ ƒZ?edXdY„ ƒZ@edZd[„ ƒZAed\d]„ ƒZBed^d_„ ƒZCed`da„ ƒZDedbdc„ ƒZEeddde„ ƒZFedfdg„ ƒZGedhdi„ ƒZHedjdk„ ƒZIedldm„ ƒZJedndo„ ƒZKedpdq„ ƒZLedrds„ ƒZMedte"edudƒdvedwe#edudƒdvedxe$edud!ƒdvedye.edud5ƒdvedze*edud-ƒdved{e+edud/ƒdved|e%edud#ƒdved}e&edud%ƒdved~e,edud1ƒdvede/edud7ƒdved€e0edud9ƒdvede1edud;ƒdved‚e2edud=ƒdvedƒe3edud?ƒdved„e4edudAƒdved…e5edudCƒdved†e'edud'ƒdved‡e(edud)ƒdvedˆe)edud+ƒdved‰e-edud3ƒdvedŠe6edudEƒdved‹e7edudGƒdvedŒe8edudIƒdvede9edudKƒdvedŽe:edudMƒdvede;edudOƒdvede=edudSƒdved‘e<edudQƒdved’e>edudUƒdved“e?edudWƒdved”e@edudYƒdved•eAedud[ƒdved–eBedud]ƒdved—eCedud_ƒdved˜eDedudaƒdved™eEedudcƒdvedšeFedudeƒdved›eGedudgƒdvedœeHedudiƒdvedeIedudkƒdvedžeJedudmƒdvedŸeKedudoƒdved eLedudqƒdved¡eMedudsƒdvg,ZNdS )£é    N)Úgettext_lazy)Úforms)ÚurlÚinclude)Úcsrf_protectÚcsrf_exempt)ÚHttpResponseForbidden)Úreverse)ÚTemplateResponse)Úinsert_non_model_permission)Úwidgets)ÚEmployeeÚ
Department)Úget_system_settingÚ	last_nameZ	nick_nameZgenderZ	dept_codeZposition_codeZposition_nameZ	work_codec                   sJ   e Zd Zejej ¡ dZe 	e
dƒ¡Ze 	e
dƒ¡Z‡ fdd„Z‡  ZS )ÚReportSearchForm)ÚquerysetÚ
start_dateÚend_datec                sd   t t| ƒj||Ž tj ¡ }| d¡| jd _| d¡| jd _t 	¡ | jd _
t 	¡ | jd _
d S )Nz%Y-%m-01r   z%Y-%m-%dr   )Úsuperr   Ú__init__ÚdatetimeÚnowÚstrftimeÚfieldsÚinitialr   ÚZKDateInputÚwidget)ÚselfÚargsÚkwargsr   )Ú	__class__© ú1G:\easytimepro\master/mysite/att\report_router.pyr      s    
zReportSearchForm.__init__)Ú__name__Ú
__module__Ú__qualname__r   ÚModelChoiceFieldr   ÚobjectsÚallZemployeeÚDateTimeFieldÚ_r   r   r   Ú__classcell__r"   r"   )r!   r#   r      s   r   c                   s8   e Zd Ze edƒ¡Ze edƒ¡Z‡ fdd„Z‡  Z	S )ÚStaffReportSearchFormr   r   c                sd   t t| ƒj||Ž tj ¡ }| d¡| jd _| d¡| jd _t 	¡ | jd _
t 	¡ | jd _
d S )Nz%Y-%m-01r   z%Y-%m-%dr   )r   r-   r   r   r   r   r   r   r   r   r   )r   r   r    r   )r!   r"   r#   r   ,   s    
zStaffReportSearchForm.__init__)
r$   r%   r&   r   r*   r+   r   r   r   r,   r"   r"   )r!   r#   r-   (   s   r-   c                   sJ   e Zd Zejej ¡ dZe 	e
dƒ¡Ze 	e
dƒ¡Z‡ fdd„Z‡  ZS )ÚReportDepartmentSearchForm)r   r   r   c                sd   t t| ƒj||Ž tj ¡ }| d¡| jd _| d¡| jd _t 	¡ | jd _
t 	¡ | jd _
d S )Nz%Y-%m-01r   z%Y-%m-%dr   )r   r.   r   r   r   r   r   r   r   r   r   )r   r   r    r   )r!   r"   r#   r   :   s    
z#ReportDepartmentSearchForm.__init__)r$   r%   r&   r   r'   r   r(   r)   Z
departmentr*   r+   r   r   r   r,   r"   r"   )r!   r#   r.   5   s   r.   c       	   	   C   sú   ddl m} yB|| jjtƒ |d ¡}|d krL|d kr8tn|}|d k	rH|ng }W n ttfk
rj   g }Y nX y|| jj	tƒ |g ¡}W n ttfk
r¢   g }Y nX | jj
r´tƒ }ntƒ }ttt|ƒƒttt|ƒƒ||dœ}|rö| dtd| ƒi¡ |S )Nr   )Úload_from_json)Úhidden_fieldsZordered_fieldsÚformÚ
model_nameZ	actionUrlz
biotime:%s)Úmysite.admin.utilsr/   ÚuserÚdisabled_fieldsÚdictÚgetÚGLOBAL_REPORT_HIDDEN_FIELDÚAttributeErrorÚKeyErrorZcolumn_orderZis_employeer-   r   ÚlistÚmapÚstrÚupdater	   )	Úrequestr2   Ú	view_namer0   r/   r5   Zuser_prefer_column_orderr1   Úcontextr"   r"   r#   Úreport_contextC   s4    

rB   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NÚGETZempScheduleReportÚemployeeschedule_report)r2   r@   z&att/report/employeeschedulereport.html)ÚmethodÚupperrB   r
   r   )r?   rA   r"   r"   r#   rD   c   s    rD   c             C   sb   | j  ¡ dkrZd}t|| jjd}|r2| dd¡nd}t| ddtd}||d< t| d	|ƒS t	S d S )
NrC   Útemp_mask_setting)Ú
company_idÚmask_enableFZtransactionReportÚtransaction_report)r2   r@   r0   z!att/report/transactionreport.html)
rE   rF   r   r4   Úcurrent_companyr7   rB   r8   r
   r   )r?   Úsetting_namerG   rI   rA   r"   r"   r#   rJ   l   s    rJ   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZmobiletransactionReportÚmobiletransaction_report)r2   r@   r0   z'att/report/mobiletransactionreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rM   z   s
    rM   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZscheduledLogReportÚscheduled_log_report)r2   r@   r0   z"att/report/scheduledlogreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rN   „   s
    rN   c             C   sX   | j  ¡ dkrPdddddddd	d
ddddg}t| }t| dd|d}t| d|ƒS tS d S )NrC   ZdurationZatt_exceptionZ	break_outZbreak_inZactual_breakZ
break_lateZbreak_earlyZbreak_absentZleaveZbreak_durationZot_lv1Zot_lv2Zot_lv3ZtotalTimeCardReportÚtotal_time_card_report)r2   r@   r0   z#att/report/totaltimecardreport.html)rE   rF   r8   rB   r
   r   )r?   Úhidden_fields_extraZhidden_fieldrA   r"   r"   r#   rO   Ž   s    rO   c             C   sd   | j  ¡ dkr\ddlm} t| ddd}|jj| jjd 	dd	¡}| 
d
|i¡ t| d|ƒS tS d S )NrC   r   )ÚLeaveCategoryZempSummaryReportÚemp_summary_report)r2   r@   )rH   ÚidÚcategory_nameÚcategoryz%att/report/employeesummaryreport.html)rE   rF   Úmysite.att.modelsrQ   rB   r(   Úfilterr4   rK   Úvaluesr>   r
   r   )r?   rQ   rA   Úobjsr"   r"   r#   rR   ›   s    rR   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZempBirthdayReportÚemp_birthday_report)r2   r@   z&att/report/employeebirthdayreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   rZ   §   s    rZ   c             C   sd   | j  ¡ dkr\ddlm} t| ddd}|jj| jjd 	dd	¡}| 
d
|i¡ t| d|ƒS tS d S )NrC   r   )rQ   ZleaveSummaryReportÚleave_summary_report)r2   r@   )rH   rS   rT   rU   z"att/report/leavesummaryreport.html)rE   rF   rV   rQ   rB   r(   rW   r4   rK   rX   r>   r
   r   )r?   rQ   rA   rY   r"   r"   r#   r[   °   s    r[   c             C   sb   | j  ¡ dkrZd}t|| jjd}|r2| dd¡nd}t| ddtd}||d< t| d	|ƒS t	S d S )
NrC   rG   )rH   rI   FZfirstLastReportÚfirst_last_report)r2   r@   r0   zatt/report/firstlastreport.html)
rE   rF   r   r4   rK   r7   rB   r8   r
   r   )r?   rL   rG   rI   rA   r"   r"   r#   r\   ¼   s    r\   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZfirstInLastOutReportÚfirst_in_last_out_report)r2   r@   r0   z!att/report/first_in_last_out.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   r]   Ê   s
    r]   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZexceptionReportÚexception_report)r2   r@   r0   zatt/report/exceptionreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   r^   Ô   s
    r^   c             C   sd   | j  ¡ dkr\ddlm} t| ddd}|jj| jjd 	dd	¡}| 
d
|i¡ t| d|ƒS tS d S )NrC   r   )rQ   ZdepartmentSummaryReportÚdept_summary_report)r2   r@   )rH   rS   rT   rU   z'att/report/departmentsummaryreport.html)rE   rF   rV   rQ   rB   r(   rW   r4   rK   rX   r>   r
   r   )r?   rQ   rA   rY   r"   r"   r#   r_   Þ   s    r_   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZtimeCardReportÚtime_card_report)r2   r@   r0   zatt/report/timecardreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   r`   ê   s
    r`   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   Z
lateReportÚlate_report)r2   r@   r0   zatt/report/latereport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   ra   ô   s
    ra   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZearlyLeaveReportÚearly_leave_report)r2   r@   r0   z att/report/earlyleavereport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rb   þ   s
    rb   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZovertimeReportÚovertime_report)r2   r@   r0   zatt/report/overtimereport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rc     s
    rc   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZdailyBasicReportÚdaily_basic_report)r2   r@   zatt/report/dailybasicatt.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   rd     s    rd   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZabsentReportÚabsent_report)r2   r@   r0   zatt/report/absentreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   re     s
    re   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZmulTransactionReportÚmul_transaction_report)r2   r@   r0   z)att/report/multipletransactionreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rf   %  s
    rf   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZmulBreakTimeReportÚmul_break_time_report)r2   r@   r0   zatt/report/mul_break_time.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rg   /  s
    rg   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZscheduletrackReportÚscheduleTrack_report)r2   r@   z#att/report/scheduletrackreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   rh   9  s    rh   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZunscheduletrackReportÚunscheduleTrack_report)r2   r@   z%att/report/unscheduletrackreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   ri   B  s    ri   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZhalfDayReportÚhalf_day_time_report)r2   r@   r0   zatt/report/halfdayreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rj   K  s
    rj   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZadminleavedetailsReportÚadminleavedetails_report)r2   r@   z'att/report/adminleavedetailsreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   rk   U  s    rk   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZdailyAttendanceReportÚdaily_attendance_report)r2   r@   r0   z%att/report/dailyattendancereport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rl   _  s
    rl   c             C   sz   | j  ¡ dkrrd}t|| jjd}|r2| dd¡nd}dddd	d
dg}t| }t| dd|d}||d< t| d|ƒS t	S d S )NrC   rG   )rH   rI   FZ	normal_otZ
weekend_otZ
holiday_otZdisplayed_maskÚin_tempÚout_tempZdailyDetailsReportÚdaily_details_report)r2   r@   r0   z"att/report/dailydetailsreport.html)
rE   rF   r   r4   rK   r7   r8   rB   r
   r   )r?   rL   rG   rI   rP   r0   rA   r"   r"   r#   ro   i  s    ro   c             C   s‚   | j  ¡ dkrzddlm} dddddd	d
dg}t| }t| dd|d}|jj| jj	d 
dd¡}| d|i¡ t| d|ƒS tS d S )NrC   r   )rQ   Z
total_lateZtotal_early_leaveZtotal_absentZtotal_workedZ	total_notZ	total_wotZ	total_hotZtotal_leaveZdailyStatusReportÚdaily_status_report)r2   r@   r0   )rH   rS   rT   rU   z!att/report/dailystatusreport.html)rE   rF   rV   rQ   r8   rB   r(   rW   r4   rK   Zvalues_listr>   r
   r   )r?   rQ   rP   r0   rA   rY   r"   r"   r#   rp   y  s    

rp   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZdailySummaryReportÚdaily_summary_report)r2   r@   z"att/report/dailysummaryreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   rq   ‰  s    rq   c             C   sZ   ddl m} | j ¡ dkrRt| ddtd}|dƒ}| dt |¡i¡ t	| d	|ƒS t
S d S )
Nr   )Úget_report_titlerC   ZmonthlyBasicStatusReportÚmonthly_basic_status_report)r2   r@   r0   Zmonthly_basic_statusÚcolsz(att/report/monthlybasicstatusreport.html)Úmysite.att.report_titlerr   rE   rF   rB   r8   r>   ÚjsonÚdumpsr
   r   )r?   rr   rA   rt   r"   r"   r#   rs   ’  s    rs   c             C   sZ   | j  ¡ dkrRddlm} t| ddtd}|dƒ}| dt |¡i¡ t	| d	|ƒS t
S d S )
NrC   r   )rr   ZmonthlyStatusSummaryReportÚmonthly_status_summary_report)r2   r@   r0   Zmonthly_status_summaryrt   z*att/report/monthlystatussummaryreport.html)rE   rF   ru   rr   rB   r8   r>   rv   rw   r
   r   )r?   rr   rA   rt   r"   r"   r#   rx   Ÿ  s    rx   c             C   sZ   | j  ¡ dkrRddlm} t| ddtd}|dƒ}| dt |¡i¡ t	| d	|ƒS t
S d S )
NrC   r   )rr   ZmonthlyOTSummaryReportÚmonthly_ot_summary_report)r2   r@   r0   Zmonthly_ot_summaryrt   z&att/report/monthlyotsummaryreport.html)rE   rF   ru   rr   rB   r8   r>   rv   rw   r
   r   )r?   rr   rA   rt   r"   r"   r#   ry   ­  s    ry   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZmonthlyDurationSummaryReportÚmonthly_duration_summary_report)r2   r@   r0   z,att/report/monthlydurationsummaryreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   rz   º  s
    
rz   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZmonthlyDetailedSummaryReportÚmonthly_detailed_summary_report)r2   r@   r0   z,att/report/monthlydetailedsummaryreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   r{   Ä  s
    
r{   c             C   s2   | j  ¡ dkr*t| ddtd}t| d|ƒS tS d S )NrC   ZmonthlyAttSheetSummaryReportÚ monthly_att_sheet_summary_report)r2   r@   r0   z%att/report/monthlyattsheetreport.html)rE   rF   rB   r8   r
   r   )r?   rA   r"   r"   r#   r|   Î  s
    
r|   c             C   sX   ddl m} | j ¡ dkrPt| ddd}|dƒ}| dt |¡i¡ t| d	|ƒS t	S d S )
Nr   )rr   rC   ZyearlySummaryReportÚyearly_summary_report)r2   r@   Zyearly_summaryrt   z#att/report/yearlysummaryreport.html)
ru   rr   rE   rF   rB   r>   rv   rw   r
   r   )r?   rr   rA   rt   r"   r"   r#   r}   Ø  s    r}   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZabnormalReportÚabnormal_report)r2   r@   zatt/report/abnormalreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r~   ä  s    r~   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZdailyattendancestatusReportÚdaily_attendance_status_report)r2   r@   z+att/report/dailyattendancestatusreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r   í  s    r   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZdailyAttendanceSummaryReportÚdaily_attendance_summary_report)r2   r@   z,att/report/dailyattendancesummaryreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r€   ö  s    r€   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZbodyTemperatureReportÚbody_temperature_report)r2   r@   z%att/report/bodytemperaturereport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r   ÿ  s    r   c             C   sB   | j  ¡ dkr:ddg}t| }t| dd|d}t| d|ƒS tS d S )NrC   rm   rn   ZfaceMaskReportÚface_mask_report)r2   r@   r0   zatt/report/facemaskreport.html)rE   rF   r8   rB   r
   r   )r?   Zhidden_field_extrar0   rA   r"   r"   r#   r‚     s    r‚   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZtotalTempDetectionReportÚtotal_temp_detection_report)r2   r@   z(att/report/totaltempdetectionreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   rƒ     s    rƒ   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZverificationPhotoReportÚverification_photo_report)r2   r@   z'att/report/verificationphotoreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r„     s    r„   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZdeptWiseReportÚdept_wise_report)r2   r@   zatt/report/deptwisereport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r…   &  s    r…   c             C   s0   | j  ¡ dkr(t| ddd}t| d|ƒS tS d S )NrC   ZunregisteredUserReportÚunregistered_user_report)r2   r@   z&att/report/unregistereduserreport.html)rE   rF   rB   r
   r   )r?   rA   r"   r"   r#   r†   .  s    r†   z^empScheduleReport/$Zreport)Únamez^transactionReport/$z^mobiletransactionReport/$z^timeCardReport/$z^firstLastReport/$z^firstInLastOurReport/$z^scheduledLogReport/$z^totalTimeCardReport/$z^exceptionReport/$z^lateReport/$z^earlyLeaveReport/$z^overtimeReport/$z^dailyBasicReport/$z^absentReport/$z^mulTransactionReport/$z^mulBreakTimeReport/$z^empSummaryReport/$z^empBirthdayReport/$z^leaveSummaryReport/$z^deptSummaryReport/$z^scheduleTrackReport/$z^unscheduleTrackReport/$z^halfDayReport/$z^adminleavedetailsReport/$z^dailyAttendanceReport/$z^dailyDetailsReport/$z^dailySummaryReport/$z^dailyStatusReport/$z^monthlyBasicStatusReport/$z^monthlyStatusSummaryReport/$z^monthlyOTSummaryReport/$z^monthlyDurationSummaryReport/$z^monthlyDetailedSummaryReport/$z^monthlyAttSheetSummaryReport/$z^yearlySummaryReport/$z^abnormalReport/$z^dailyAttendanceStatusReport/$z^dailyAttendanceSummaryReport/$z^bodyTemperatureReport/$z^faceMaskReport/$z^totalTempDetectionReport/$z^verificationPhotoReport/$z^deptWiseReport/$z^unregisteredUserReport/$)NN)Orv   r   Zdjango.utils.translationr   r+   Zdjangor   Zdjango.conf.urlsr   r   Zdjango.views.decorators.csrfr   r   Zdjango.httpr   Zdjango.urlsr	   Zdjango.template.responser
   r3   r   Zmysite.admin.formsr   Zmysite.personnel.modelsr   r   Zmysite.utilsr   r8   ZFormr   r-   r.   rB   rD   rJ   rM   rN   rO   rR   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   ro   rp   rq   rs   rx   ry   rz   r{   r|   r}   r~   r   r€   r   r‚   rƒ   r„   r…   r†   Zurlpatternsr"   r"   r"   r#   Ú<module>   s*  
 	

	





	


		


	


						
