+
    ûwéjt"  ã                   óÈ   € ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
HtHtHtHt ]! ]P                  4      R 4       tR
R lt]! ]P                  4      R	 4       tR# )é    N)Údefaultdict)Úchain)Úapps)Úsettings)ÚErrorÚTagsÚWarningÚregisterc                 óÄ  € \        \        4      p\        \        4      p\        \        4      p. pV f   \        P                  ! 4       pM\        P
                  ! R V  4       4      pV EF¡  pVP                  P                  '       d\   VP                  P                  '       g@   W'P                  P                  ,          P                  VP                  P                  4       \        P                  ! VP                  4      '       g<   VP                  \        RVP                   : RVP                  : R2VRR7      4       M!VP#                  VP                  ! R/ VB 4       VP                  P$                   F8  pW8P&                  ,          P                  VP                  P                  4       K:  	  VP                  P(                   F8  p	WIP&                  ,          P                  VP                  P                  4       K:  	  EK¤  	  \*        P,                  '       d   \.        RrºRpM	\        R	rºR pVP1                  4        F\  w  rÞ\3        V4      ^8w  g   K  R
P5                  V4      pTP                  T
! RV: RV: R2TV'       d	   WÏ,          MR VR7      4       K^  	  VP1                  4        Fˆ  w  pp\3        V4      ^8”  g   K  \7        V4      pTP                  \        RV: R\3        V4      ^8X  d   RMR: RR
P5                  \9        V4      4      : R2\3        V4      ^8X  d   RMRR7      4       KŠ  	  VP1                  4        Fˆ  w  pp\3        V4      ^8”  g   K  \7        V4      pTP                  \        RV: R\3        V4      ^8X  d   RMR: RR
P5                  \9        V4      4      : R2\3        V4      ^8X  d   RMRR7      4       KŠ  	  V# )Nc              3   ó@   "  € T F  qP                  4       x € K  	  R # 5i©N)Ú
get_models)Ú.0Ú
app_configs   & ÚVD:\Novelx\Nexus_chitfund_web\venv\Lib\site-packages\django/core/checks/model_checks.pyÚ	<genexpr>Ú#check_all_models.<locals>.<genexpr>   s   é € ð %
Ù6A¨
×!Ñ!×#Ð#³kùs   ‚zThe 'z2.check()' class method is currently overridden by Ú.zmodels.E020©ÚobjÚidzmodels.W035ziYou have configured settings.DATABASE_ROUTERS. Verify that %s are correctly routed to separate databases.zmodels.E028z, z
db_table 'z' is used by multiple models: )r   Úhintr   zindex name 'z' is not unique z	for modelzamong models:Ú zmodels.E029zmodels.E030)r   zconstraint name 'zmodels.E031zmodels.E032© )r   Úlistr   r   r   Úfrom_iterableÚ_metaÚmanagedÚproxyÚdb_tableÚappendÚlabelÚinspectÚismethodÚcheckr   Ú__name__ÚextendÚindexesÚnameÚconstraintsr   ÚDATABASE_ROUTERSr	   ÚitemsÚlenÚjoinÚsetÚsorted)Úapp_configsÚkwargsÚdb_table_modelsr(   r*   ÚerrorsÚmodelsÚmodelÚmodel_indexÚmodel_constraintÚerror_classÚerror_idÚ
error_hintr    Úmodel_labelsÚmodel_labels_strÚ
index_nameÚconstraint_names   &,                r   Úcheck_all_modelsr@      s
  € ä!¤$Ó'€OÜœ$Ó€GÜœdÓ#€KØ€FØÒÜ—’Ó"‰ä×$Ò$ñ %
Ù6Aó%
ó 
ˆô ˆØ�;‰;××Ð u§{¡{×'8×'8Ð'8ØŸK™K×0Ñ0Õ1×8Ñ8¸¿¹×9JÑ9JÔKÜ×Ò §¡×,Ò,Ø�M‰MÝà—~”~ u§{¤{ð4àØ$ô	õð �M‰M˜%Ÿ+š+Ñ/¨Ñ/Ô0Ø Ÿ;™;×.Ô.ˆKØ×$Ñ$Õ%×,Ñ,¨U¯[©[×->Ñ->Ö?ñ /à %§¡× 7Ô 7ÐØ×-Ñ-Õ.×5Ñ5°e·k±k×6GÑ6GÖHô !8ñ! ô$ × × Ð Ü '¨�Xð:ñ 	ô
 !& }�XØˆ
Ø"1×"7Ñ"7Ö"9ÑˆÜˆ|Ó Ö!Ø#Ÿy™y¨Ó6ÐØ�M‰MÚãÓ!1ð3à ß<F˜*Ö7ÈDØôöñ #:ð %,§M¡M¦OÑ ˆ
�LÜˆ|Ó˜qÖ Ü˜|Ó,ˆLØ�M‰MÝó #Ü'*¨<Ó'8¸AÔ'=™À?ÒRØŸ	™	¤&¨Ó"6Ö7ð	ô ),¨LÓ(9¸QÔ(>‘}ÀMôö
ñ %4ð *5×):Ñ):Ö)<Ñ%ˆ˜Üˆ|Ó˜qÖ Ü˜|Ó,ˆLØ�M‰MÝó (Ü'*¨<Ó'8¸AÔ'=™À?ÒRØŸ	™	¤&¨Ó"6Ö7ð	ô ),¨LÓ(9¸QÔ(>‘}ÀMôö
ñ *=ð €Mó    c                óÊ  a aa	a
aaa€ \        S P                  4      T;'       g    \        4       ,
          pV'       g   . # ^ RIHp \	        V4      P                  4        UUu/ uF$  w  rE\        WSP                  4      '       g   K"  WTbK&  	  uppoR oV 3R loV3R lpVV3R lpV3R lo
RVRRRV/oV
V3R lo	\        \        RV V	V3R	 lV 4       4      R
 R7      # u uppi )aX  
Ensure all lazy (i.e. string) model references have been resolved.

Lazy references are used in various places throughout Django, primarily in
related fields and model signals. Identify those common cases and provide
more helpful error messages for them.

The ignore parameter is used by StateApps to exclude swappable models from
this check.
)Úsignalsc                óÄ   € T . / r2p\        VR4      '       dG   VP                  \        VR. 4      4       VP                  \        VR/ 4      4       VP                  pKX  WV3# )a’  
Take a callable found in Apps._pending_operations and identify the
original callable passed to Apps.lazy_model_operation(). If that
callable was a partial, return the inner, non-partial function and
any arguments and keyword arguments that were supplied with it.

obj is a callback defined locally in Apps.lazy_model_operation() and
annotated there with a `func` attribute so as to imitate a partial.
ÚfuncÚargsÚkeywords)Úhasattrr'   ÚgetattrÚupdaterE   )r   Ú	operationrF   rG   s   &   r   Úextract_operationÚ1_check_lazy_references.<locals>.extract_operationv   sZ   € ð %(¨¨R˜ˆ	Ü�i ×(Ò(Ø�K‰Kœ 	¨6°2Ó6Ô7Ø�O‰OœG I¨z¸2Ó>Ô?Ø!Ÿ™ŠIØ Ð(Ð(rA   c                 ó’   <€  SP                   ! V ^ ,          4       RV ,          pV#   \         d    RT ^ ,          ,          p T# i ; i)r   z#app '%s' doesn't provide model '%s'zapp '%s' isn't installed)Úget_app_configÚLookupError)Ú	model_keyÚmodel_errorr   s   & €r   Úapp_model_errorÚ/_check_lazy_references.<locals>.app_model_error‡   sT   ø€ ð	DØ×Ò 	¨!¥Ô-Ø?À)ÕKˆKð Ðøô ô 	DØ4°yÀµ|ÕC‰KØÐð	Dús   ƒ"' §AÁAc                 ó†   <€ R pRRP                  V 4      RVR,          RS! V 4      /p\        WE,          VR,          RR7      # )z[The field %(field)s was declared with a lazy reference to '%(model)s', but %(model_error)s.r6   r   ÚfieldrR   zfields.E307r   ©r.   r   ©rQ   rE   rF   rG   Ú	error_msgÚparamsrS   s   &&&&  €r   Úfield_errorÚ+_check_lazy_references.<locals>.field_error•   sQ   ø€ ð3ð 	ð
 �S—X‘X˜iÓ(Ø�X˜gÕ&Ø™?¨9Ó5ð
ˆô
 �YÕ'¨X°gÕ->À=ÔQÐQrA   c           
      ó  <€ R pV^ ,          p\        V\        P                  4      '       d   RVP                  ,          pMq\        V\        P                  4      '       d5   RVP
                  P                  P                  : RVP                  : R2pMRVP                  P                  ,          pS
P                  VP
                  R4      pRRP                  V 4      RVR	VR
S	! V 4      /p\        WH,          VP                  RR7      # )z{%(receiver)s was connected to the '%(signal)s' signal with a lazy reference to the sender '%(model)s', but %(model_error)s.zThe function '%s'zBound method 'r   Ú'zAn instance of class '%s'Úunknownr6   ÚreceiverÚsignalrR   zsignals.E001r   )Ú
isinstanceÚtypesÚFunctionTyper&   Ú
MethodTypeÚ__self__Ú	__class__Úgetr.   r   Ú
__module__)rQ   rE   rF   rG   rY   r`   ÚdescriptionÚsignal_namerZ   rS   Úmodel_signalss   &&&&     €€r   Úsignal_connect_errorÚ4_check_lazy_references.<locals>.signal_connect_error¡   sç   ø€ ðMð 	ð ˜•7ˆô �h¤× 2Ñ 2×3Ò3Ø-°×0AÑ0AÕA‰KÜ˜¤%×"2Ñ"2×3Ó3à×!Ñ!×+Ñ+×4Ô4Ø×!Ô!ð‰Kð
 6¸×8JÑ8J×8SÑ8SÕSˆKØ#×'Ñ'¨¯©°yÓAˆà�S—X‘X˜iÓ(Ø˜Ø�kØ™?¨9Ó5ð	
ˆô �YÕ'¨X×-@Ñ-@À^ÔTÐTrA   c                 ój   <€ R pRVRRP                  V 4      RS! V 4      /p\        WE,          VRR7      # )zC%(op)s contains a lazy reference to %(model)s, but %(model_error)s.Úopr6   r   rR   zmodels.E022r   rW   rX   s   &&&&  €r   Údefault_errorÚ-_check_lazy_references.<locals>.default_error»   sE   ø€ àQð 	ð �$Ø�S—X‘X˜iÓ(Ø™?¨9Ó5ð
ˆô
 �YÕ'¨T°mÔDÐDrA   Nc                 ó~   <€ VP                   VP                  3pSP                  VS4      pV'       d
   V! WW#4      # R # r   )ri   r&   rh   )rQ   rE   rF   rG   ÚkeyÚerror_fnrq   Ú
known_lazys   &&&&  €€r   Úbuild_errorÚ+_check_lazy_references.<locals>.build_errorÏ   s9   ø€ Ø�‰ §¡Ð.ˆØ—>‘> # }Ó5ˆß<D‰x˜	¨Ó8ÐNÈ$ÐNrA   c              3   óx   <"  € T F/  pSP                   V,           F  pS! V.S! V4      O5!  x € K  	  K1  	  R # 5ir   )Ú_pending_operations)r   rQ   rE   r   rw   rL   s   &  €€€r   r   Ú)_check_lazy_references.<locals>.<genexpr>×   sG   øé € ð á!/�IØ ×4Ñ4°Y×?Ð?�Dñ ˜IÐ@Ñ(9¸$Ó(?×@Ð@á?ñ AÛ!/ùs   ƒ7:c                 ó   € V P                   # r   )Úmsg)Úerrors   &r   Ú<lambda>Ú(_check_lazy_references.<locals>.<lambda>Ý   s   € ˜%Ÿ)š)rA   )rt   )údjango.db.models.fields.relatedÚresolve_related_class)r�   Úset_managed)zdjango.dispatch.dispatcherÚconnect)
r/   rz   Údjango.db.modelsrC   Úvarsr,   rb   ÚModelSignalr0   Úfilter)r   ÚignoreÚpending_modelsrC   r)   ra   r[   rm   rS   rw   rq   rL   rv   rl   s   f&      @@@@@@r   Ú_check_lazy_referencesr‹   ]   sÝ   þ€ ô ˜×1Ñ1Ó2°f·o°oÄÃÕF€N÷ Øˆ	å(ô ! ›M×/Ñ/Ô1ôá1‰LˆDÜ�f×1Ñ1×2ô 	ˆŠÙ1ò€Mò)õ"õ
RöUõ4	Eð 	EÀkØ:¸DØ1Ð3Gð€JöOô
 ÜØöá!/óó	
ñ $ô
ð 
ùóIs   Á"CÂCc                 ó    € \        \        4      # r   )r‹   r   )r1   r2   s   &,r   Úcheck_lazy_referencesr�   á   s   € ä!¤$Ó'Ð'rA   r   )r#   rc   Úcollectionsr   Ú	itertoolsr   Údjango.appsr   Údjango.confr   Údjango.core.checksr   r   r	   r
   r5   r@   r‹   r�   r   rA   r   Ú<module>r“      sa   ðÛ Û Ý #Ý å Ý  ß =Ó =ñ 
ˆ$�+‰+ÓñNó ðNôbAñH 
ˆ$�+‰+Óñ(ó ò(rA   