
    vg)                     2    d dl mZ d dlmZ  G d de      Zy)    )	AppConfig)start_automationc                   (     e Zd ZdZdZd fdZ xZS )HorillaAutomationConfigzdjango.db.models.BigAutoFieldhorilla_automationsc                    t         |          }	 ddlm} ddlm} ddlm} ddlm	} d} |d      rd}|g}|rdd	l
m} |j                  |       |}	|	D ]I  }
 ||
      }|D ]:  }|j                   d
|j                   }|j                  ||j                  f       < K |j                  d       t        t!        |            }	 t#                |S #  Y |S xY w#  Y |S xY w)Nr   )app_installed)Employee)get_related_models)MODEL_CHOICESFrecruitmentT)	Candidate.)zemployee.models.Employeer
   )superready base.templatetags.horillafiltersr	   employee.modelsr
   #horilla_automations.methods.methodsr   horilla_automations.modelsr   recruitment.modelsr   append
__module____name__listsetr   )selfr   r	   r
   r   r   recruitment_installedmodelsr   main_models
main_modelrelated_modelsmodelpath	__class__s                 ,/var/www/horilla/horilla_automations/apps.pyr   zHorillaAutomationConfig.ready
   s   #	F0N@$)!]+(,%ZF$8i( K) A
!3J!?+ AE#../q0@AD!(($)?@AA   !IJ ]!34M "  		 s$   B5C 
C CC C C )returnN)r   r   __qualname__default_auto_fieldnamer   __classcell__)r$   s   @r%   r   r      s    8 D& &    r   N)django.appsr   horilla_automations.signalsr   r    r+   r%   <module>r/      s    ! 8*i *r+   