+
    ûwéj†<  ã                   óä   € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RI	H
t
 ^ RIt^ RIHt ^ RIHtHt ^ RIHtHtHt ^ RIHtHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt  ! R R]4      t R# )é    N)Ú	find_spec)Úbuild_opener)Úsettings)ÚBaseCommandÚCommandError)Úfind_formattersÚhandle_extensionsÚrun_formatters)ÚContextÚEngine)Úarchive)Ú	safe_join)Úparse_header_parameters)Úget_docs_versionc                   óx   a € ] tR t^t o Rt. t. ROtRtR tRR lt	R t
RR ltR tR tR	 tR
 tR tR tRtV tR# )ÚTemplateCommanda»  
Copy either a Django application layout template or a Django project
layout template into the specified directory.

:param style: A color style object (see django.core.management.color).
:param app_or_project: The string 'app' or 'project'.
:param name: The name of the application or project.
:param directory: The directory to which the template should be copied.
:param options: The additional variables passed to project or app templates
c           
     ó$  € VP                  R RR7       VP                  RRRR7       VP                  RRR7       VP                  R	R
RRR.RR7       VP                  RRRR. RR7       VP                  RRR\        P                  RRRR7       R# )Únamez#Name of the application or project.)ÚhelpÚ	directoryÚ?z?Optional destination directory, this will be created if needed.)Únargsr   z
--templatez*The path or URL to load the template from.z--extensionz-eÚ
extensionsÚappendÚpyztThe file extension(s) to render (default: "py"). Separate multiple extensions with commas, or use -e multiple times.)ÚdestÚactionÚdefaultr   z--namez-nÚfilesz_The file name(s) to render. Separate multiple file names with commas, or use -n multiple times.z	--excludez-xÚ zbThe directory name(s) to exclude, in addition to .git and __pycache__. Can be used multiple times.)r   r   r   Úconstr   N)Úadd_argumentÚargparseÚSUPPRESS)ÚselfÚparsers   &&ÚWD:\Novelx\Nexus_chitfund_web\venv\Lib\site-packages\django/core/management/templates.pyÚadd_argumentsÚTemplateCommand.add_arguments/   sÓ   € Ø×Ñ˜FÐ)NÐÔOØ×ÑØØØRð 	ô 	
ð
 	×ÑØÐKð 	ô 	
ð 	×ÑØØØØØ�Fð!ð 	ô 		
ð 	×ÑØØØØØð5ð 	ô 	
ð 	×ÑØØØÜ×%Ñ%ØØð;ð 	ö 	
ó    Nc                ór  € Wn         VR 8X  d   RMRV n        . V n        VR,          V n        V P	                  V4       VfL   \
        P                  P                  \
        P                  ! 4       V4      p \
        P                  ! V4       M®\
        P                  P                  \
        P                  P                  V4      4      pVR 8X  d0   V P	                  \
        P                  P                  V4      R4       \
        P                  P!                  V4      '       g    \
        P                  ! V4       \#        4       p\%        \'        VR,          4      4      p. p	RR	.p
VR
,           F.  pV	P)                  \+        R VP-                  R4      4      4       K0  	  VP/                  R4      ;p'       d)   V F"  pV
P1                  VP3                  4       4       K$  	  V P                  ^8¼  de   V P4                  P7                  RV: RRP                  V4      : 24       V P4                  P7                  RV: RRP                  V	4      : 24       RV,          pRV,          pRV,          pRV,          pRP                  R VP9                  4        4       4      p\;        / VCWâVVVVR\=        4       R\>        P@                  /CRR7      p\B        PD                  '       g+   \B        PF                  ! 4        \>        PH                  ! 4        V PK                  VR,          V4      p\M        V4      ^,           p\
        PN                  ! V4       EFØ  w  pppVVR pVPQ                  Wâ4      pV'       d9   \
        P                  P                  VV4      p\
        P                  ! VRR7       VR,           FW  pRV9  d4   VPS                  R 4      '       g   VR	8X  d   VPU                  V4       K;  K=  VV
9   g   KF  VPU                  V4       KY  	  V EF  pVPW                  R+4      '       d   K  \
        P                  P                  VV4      p\
        P                  P                  VVVPQ                  Wâ4      4      pV PX                   F7  w  p p!VPW                  V 4      '       g   K  VP[                  V 4      V!,           p M	  \
        P                  P!                  V4      '       d"   \        V: R!V P                  : R"V: R#24      hVPW                  V4      '       g   VV	9   dŠ   \]        VR$R%7      ;_uu_ 4       p"V"P_                  4       p#RRR4       \a        4       Pc                  X#4      p$V$Pe                  V4      p#\]        VR&R$R%7      ;_uu_ 4       p%V%P7                  V#4       RRR4       M\f        Ph                  ! VV4       V P                  ^8¼  d#   V P4                  P7                  R'V,          4        V Pk                  VV4       V Pm                  V4       EK  	  EKÛ  	  V P                  '       d“   V P                  ^8¼  d   V P4                  P7                  R)4       V P                   FV  p&\
        P                  Pu                  V&4      '       d   \
        PT                  ! V&4       K@  \f        Pv                  ! V&4       KX  	  \y        V.3/ VBR*V Pn                  /B  R#   \         d    \        RT,          4      h\         d   p\        T4      hRp?ii ; i  \         d   p\        T4      hRp?ii ; i  + '       g   i     ELý; i  + '       g   i     ELŸ; i  \         d=    T Pn                  P7                  R(T,          T Pp                  Pr                  4        EK   i ; i),ÚappÚanÚaÚ	verbosityNz'%s' already existsr   r   z.gitÚ__pycache__r   c                 ó"   € V P                  4       # ©N)Ústrip)Úxs   &r'   Ú<lambda>Ú(TemplateCommand.handle.<locals>.<lambda>|   s
   € ¨Q¯W©W¬Yr*   Ú,Úexcludez
Rendering z! template files with extensions: z, z  template files with filenames: z%s_namez%s_templatez%s_directoryzcamel_case_%s_namer    c              3   ó6   "  € T F  qR 8w  g   K  Vx € K  	  R# 5i)Ú_N© )Ú.0r4   s   & r'   Ú	<genexpr>Ú)TemplateCommand.handle.<locals>.<genexpr>�   s   é € Ð"G©l¨À3¹h§1¢1«lùs   ‚�
Údocs_versionÚdjango_versionF)Ú
autoescapeÚtemplateT)Úexist_ok:NNNÚ.z already exists. Overlaying Ú z< into an existing directory won't replace conflicting files.zutf-8)ÚencodingÚwzCreating %szkNotice: Couldn't set permission bits on %s. You're probably using an uncommon filesystem setup. No problem.zCleaning up temporary files.Ústderr)z.pyoz.pycz	.py.class)=Úapp_or_projectÚa_or_anÚpaths_to_remover/   Úvalidate_nameÚosÚpathÚjoinÚgetcwdÚmakedirsÚFileExistsErrorr   ÚOSErrorÚabspathÚ
expanduserÚbasenameÚexistsr   Útupler	   ÚextendÚmapÚsplitÚgetr   r3   ÚstdoutÚwriteÚtitler   r   ÚdjangoÚ__version__r   Ú
configuredÚ	configureÚsetupÚhandle_templateÚlenÚwalkÚreplaceÚ
startswithÚremoveÚendswithÚrewrite_template_suffixesÚremovesuffixÚopenÚreadr   Úfrom_stringÚrenderÚshutilÚcopyfileÚapply_umaskÚmake_writeablerH   ÚstyleÚNOTICEÚisfileÚrmtreer
   )'r%   rI   r   ÚtargetÚoptionsÚtop_dirÚeÚformatter_pathsr   Úextra_filesÚexcluded_directoriesÚfiler8   r   Ú	base_nameÚbase_subdirÚbase_directoryÚcamel_case_nameÚcamel_case_valueÚcontextÚtemplate_dirÚprefix_lengthÚrootÚdirsr   Ú	path_restÚrelative_dirÚ
target_dirÚdirnameÚfilenameÚold_pathÚnew_pathÚ
old_suffixÚ
new_suffixÚtemplate_fileÚcontentrB   Únew_fileÚpath_to_removes'   &&&&,                                  r'   ÚhandleÚTemplateCommand.handleY   s   € Ø,ÔØ-°Ô6‘t¸CˆŒØ!ˆÔØ  Õ-ˆŒà×Ñ˜4Ô ð Š>Ü—g‘g—l‘l¤2§9¢9£;°Ó5ˆGð&Ü—’˜GÕ$ô —g‘g—o‘o¤b§g¡g×&8Ñ&8¸Ó&@ÓAˆGØ Ô&Ø×"Ñ"¤2§7¡7×#3Ñ#3°GÓ#<¸kÔJÜ—7‘7—>‘> '×*Ò*ð*Ü—K’K Ô(ô *Ó+ˆäÔ,¨W°\Õ-BÓCÓDˆ
ØˆØ &¨Ð6ÐØ˜G×$Ð$ˆDØ×ÑœsÑ#6¸¿
¹
À3»ÓHÖIñ %à—k‘k )Ó,Ð,ˆ7Ö,Û$�	Ø$×+Ñ+¨I¯O©OÓ,=Ö>ñ %à�>‰>˜QÔØ�K‰K×Òã! 4§9¡9¨ZÕ#8ð:ôð �K‰K×Òã! 4§9¡9¨[Õ#9ð;ôð  Õ.ˆ	Ø# nÕ4ˆØ'¨.Õ8ˆØ.°Õ?ˆØŸ7™7Ñ"G¨d¯j©j¬lÓ"GÓGÐäðØðàØ ØÐ!1ØÔ 0Ó 2Ø ¤&×"4Ñ"4ñð ô

ˆô ×"×"Ð"Ü×ÒÔ Ü�LŠLŒNà×+Ñ+¨G°JÕ,?ÀÓMˆÜ˜LÓ)¨AÕ-ˆä!#§¢¨×!6ÑˆD�$˜Ø˜]˜^Ð,ˆIØ$×,Ñ,¨YÓ=ˆLßÜŸW™WŸ\™\¨'°<Ó@�
Ü—’˜J°Õ6à Ÿ7˜7�Ø GÔ+Ø×)Ñ)¨#×.Ò.°'¸]Ô2JØŸ™ GÖ,ñ 3KàÐ 4Ö4Ø—K‘K Ö(ñ #ô "�Ø×$Ñ$Ð%B×CÒCáÜŸ7™7Ÿ<™<¨¨hÓ7�ÜŸ7™7Ÿ<™<Ø˜\¨8×+;Ñ+;¸IÓ+Ló�ð /3×.LÔ.LÑ*�J 
Ø×(Ñ(¨×4Ô4Ø#+×#8Ñ#8¸Ó#DÀzÕ#Q˜Ùñ /Mô
 —7‘7—>‘> (×+Ò+Ü&ó %Ø ŸLœLÛ*ðóð ð ×$Ñ$ Z×0Ò0°HÀÔ4KÜ˜h°×9Õ9¸]Ø"/×"4Ñ"4Ó"6˜÷ :ä%›x×3Ñ3°GÓ<�HØ&Ÿo™o¨gÓ6�GÜ˜h¨°g×>Õ>À(Ø Ÿ™ wÔ/÷ ?Ð>ô —O’O H¨hÔ7à—>‘> QÔ&Ø—K‘K×%Ñ% m°hÕ&>Ô?ð	Ø×$Ñ$ X¨xÔ8Ø×'Ñ'¨×1ôQ "ñ "7ð~ ××ÐØ�~‰~ Ô"Ø—‘×!Ñ!Ð"@ÔAØ"&×"6Ô"6�Ü—7‘7—>‘> .×1Ò1Ü—I’I˜nÖ-ä—M’M .Ö1ñ	 #7ô 	˜�yÑH OÑH¸D¿K¹KÕHøôK #ô DÜ"Ð#8¸7Õ#BÓCÐCÜô &Ü" 1“oÐ%ûð&ûô ô *Ü& q›/Ð)ûð*ú÷v :×9Ð9ú÷ ?×>Ð>ûô ô Ø—K‘K×%Ñ%ð#à%-õ.ð Ÿ
™
×)Ñ)÷	ð ðúsa   Á5[/ Ä$\) Õ]	Ö]	Ø#]/Û/%\&Ü\&Ü\!Ü!\&Ü)]Ü4\?Ü?]Ý]Ý],Ý/A^6Þ5^6c                óš  € Vf7   \         P                  P                  \        P                  ^ ,          RV4      # VP                  R4      p\         P                  P                  V4      p\         P                  P                  V4      p\         P                  P                  V4      '       d   V# V P                  V4      '       d   V P                  V4      pM\         P                  P                  V4      p\         P                  P                  V4      '       d   V P                  V4      # \        RV P                  : RV: R24      h)z‹
Determine where the app or project templates are.
Use django.__path__[0] as the default because the Django install
directory isn't known.
Úconfzfile://zcouldn't handle z
 template rD   )rM   rN   rO   r`   Ú__path__ÚremoveprefixrU   ÚnormpathÚisdirÚis_urlÚdownloadrT   rW   Úextractr   rI   )r%   rB   ÚsubdirÚexpanded_templateÚabsolute_paths   &&&  r'   re   ÚTemplateCommand.handle_templateí   sì   € ð ÒÜ—7‘7—<‘<¤§¡°Õ 2°F¸FÓCÐCà×,Ñ,¨YÓ7ˆHÜ "§¡× 2Ñ 2°8Ó <ÐÜ "§¡× 0Ñ 0Ð1BÓ CÐÜ�w‰w�}‰}Ð.×/Ò/Ø(Ð(Ø�{‰{˜8×$Ò$à $§¡¨hÓ 7‘ä "§¡§¡Ð0AÓ B�Ü�w‰w�~‰~˜m×,Ò,Ø—|‘| MÓ2Ð2åØ15×1DÔ1DÃhÐOó
ð 	
r*   c           	     óf  € Vf1   \        RP                  V P                  V P                  R7      4      hVP	                  4       '       g(   \        RP                  VV P                  VR7      4      h\        V4      e3   \        RP                  VV P                  V P                  VR7      4      hR # )Nz you must provide {an} {app} name)r-   r,   zX'{name}' is not a valid {app} {type}. Please make sure the {type} is a valid identifier.)r   r,   Útypez�'{name}' conflicts with the name of an existing Python module and cannot be used as {an} {app} {type}. Please try another {type}.)r   r-   r,   r©   )r   ÚformatrJ   rI   Úisidentifierr   )r%   r   Úname_or_dirs   &&&r'   rL   ÚTemplateCommand.validate_name  sÀ   € ØŠ<ÜØ2×9Ñ9Ø—|‘|Ø×+Ñ+ð :ó óð ð × Ñ ×"Ò"Üð0ß06±ØØ×+Ñ+Ø$ð 17ó 1óð ô �T‹?Ò&Üð"ç"(¡&ØØ—|‘|Ø×+Ñ+Ø$ð	 #)ó #ó	ð 	ñ 'r*   c           	     óÊ  € R pRV P                   ,          p\        P                  ! VRR7      pV P                  P	                  V4       V! V4      w  rVV P
                  ^8¼  d#   V P                  P                  RV,          4       \        P                  P                  WE4      p\        4       pRR\        P                   23.Vn         VP                  V4      ;_uu_ 4       p	\        VR4      ;_uu_ 4       p
V	P!                  4       pV
P                  V	P#                  4       4       R	R	R	4       R	R	R	4       TP)                  R4      R,          pXR,          pT'       d+   \+        T4      w  ppTP-                  R4      ;'       g    TpMTpT P/                  T4      ^,          pTR,          pT'       g0   T'       d(   \0        P2                  ! T4      pT'       d
   TT,          pTT8w  d&   \5        TT4      p\6        P8                  ! TT4       T# T#   + '       g   i     Ló; i  + '       g   i     Lþ; i  \$         d   p\'        R
T: RT: RT: 24      hR	p?ii ; i)z2
Download the given URL and return the file name.
c                 ó¤   € V P                  R 4      pVP                  R 4      R,          pV P                  R 4      '       d   VR ,           pW#3# T pW#3# )Ú/éÿÿÿÿ)Úrstripr[   rk   )ÚurlÚtmpr�   Údisplay_urls   &   r'   Úcleanup_urlÚ-TemplateCommand.download.<locals>.cleanup_url+  sT   € Ø—*‘*˜S“/ˆCØ—y‘y “~ bÕ)ˆHØ�|‰|˜C× Ò Ø! C�i�ð Ð(Ð(ð "�ØÐ(Ð(r*   údjango_%s_template_Ú	_download©ÚprefixÚsuffixzDownloading %sz
User-AgentzDjango/ÚwbNzcouldn't download URL ú to ú: r°   zcontent-dispositionr�   zcontent-typer±   )rI   ÚtempfileÚmkdtemprK   r   r/   r]   r^   rM   rN   rO   r   r`   ra   Ú
addheadersrn   Úinforo   rS   r   r[   r   r\   ÚsplitextÚ	mimetypesÚguess_extensionr   rr   Úmove)r%   r³   r¶   r»   Útempdirr�   rµ   Úthe_pathÚopenerÚsourcerz   Úheadersr}   Ú	used_nameÚcontent_dispositionr:   ÚparamsÚguessed_filenameÚextÚcontent_typeÚguessed_paths   &&                   r'   r¢   ÚTemplateCommand.download&  só  € ò
	)ð '¨×)<Ñ)<Õ<ˆÜ×"Ò"¨&¸ÔEˆØ×Ñ×#Ñ# GÔ,Ù +¨CÓ 0Ñˆà�>‰>˜QÔØ�K‰K×ÑÐ.°Õ<Ô=ä—7‘7—<‘< Ó2ˆÜ“ˆØ*¨g´f×6HÑ6HÐ5IÐ,JÐKÐLˆÔð	Ø—‘˜S×!Ô! V¬T°(¸D×-AÔ-AÀVØ Ÿ+™+›-�Ø—‘˜VŸ[™[›]Ô+÷ .B×!ð —N‘N 3Ó'¨Õ+ˆ	ð &Ð&;Õ<ÐßÜ/Ð0CÓD‰IˆAˆvØ%Ÿz™z¨*Ó5×BÐB¸Ñà(Ðð �m‰mÐ,Ó-¨aÕ0ˆØ˜~Õ.ˆß—|Ü×+Ò+¨LÓ9ˆCßØ  CÕ'Ð ð Ð(Ô(Ü$ WÐ.>Ó?ˆLÜ�KŠK˜ ,Ô/ØÐð ˆ÷E .B×-Aú×!×!ûô ô 	ÝÛ8;»XÂqÐIóð ûð	úsN   ÃH; Ã%H(Ã:0H	Ä*H(Ä2H; ÈH%È H(È(H8	È3H; È8H; È;I"ÉIÉI"c                ó¤   € \         P                  ! V4      w  r#VP                  4       P                  R4      '       d   VRR V,           pVRR pW#3# )z0
Like os.path.splitext, but takes off .tar, too
z.tarNéüÿÿÿ)Ú	posixpathrÄ   Úlowerrk   )r%   rÉ   ÚbaserÑ   s   &&  r'   rÄ   ÚTemplateCommand.splitextd  sO   € ô ×&Ò& xÓ0‰	ˆØ�:‰:‹<× Ñ  ×(Ò(Ø�r�s�)˜c•/ˆCØ˜˜�9ˆDØˆyÐr*   c           	     óš  € RV P                   ,          p\        P                  ! VRR7      pV P                  P	                  V4       V P
                  ^8¼  d#   V P                  P                  RV,          4        \        P                  ! W4       V#   \        P                  \        3 d   p\        RT: RT: RT: 24      hRp?ii ; i)	zr
Extract the given file to a temporary directory and return
the path of the directory with the extracted content.
r¸   Ú_extractrº   zExtracting %szcouldn't extract file r¾   r¿   N)rI   rÀ   rÁ   rK   r   r/   r]   r^   r   r£   ÚArchiveExceptionrS   r   )r%   r�   r»   rÈ   r}   s   &&   r'   r£   ÚTemplateCommand.extractn  s¥   € ð
 '¨×)<Ñ)<Õ<ˆÜ×"Ò"¨&¸ÔDˆØ×Ñ×#Ñ# GÔ,Ø�>‰>˜QÔØ�K‰K×Ñ˜o°Õ8Ô9ð	Ü�OŠO˜HÔ.ØˆNøÜ×(Ñ(¬'Ð2ô 	ÝÛ8@Ã'Ê1ÐMóð ûð	ús   Á;B ÂC
Â.CÃC
c                ó~   € RV9  d   R# VP                  R^4      ^ ,          P                  4       pW P                  9   # )z)Return True if the name looks like a URL.Ú:F)r[   rØ   Úurl_schemes)r%   rB   Úschemes   && r'   r¡   ÚTemplateCommand.is_url€  s:   € à�hÔÙØ—‘  QÓ'¨Õ*×0Ñ0Ó2ˆØ×)Ñ)Ñ)Ð)r*   c                ó  € \         P                  ! ^ 4      p\         P                  ! V4       \        P                  ! \         P                  ! V4      P                  4      p\         P
                  ! W$V( ,          4       R# )r   N)rM   ÚumaskÚstatÚS_IMODEÚst_modeÚchmod)r%   r‘   r’   Úcurrent_umaskÚcurrent_modes   &&&  r'   rt   ÚTemplateCommand.apply_umask‡  sK   € ÜŸš ›ˆÜ
�Š�ÔÜ—|’|¤B§G¢G¨HÓ$5×$=Ñ$=Ó>ˆÜ
�Š�¨=¨.Õ8Ö9r*   c                ó"  € \         P                  ! V\         P                  4      '       gd   \         P                  ! V4      p\        P                  ! VP
                  4      \        P                  ,          p\         P                  ! W4       R# R# )zJ
Make sure that the file is writeable.
Useful if our source is read-only.
N)rM   ÚaccessÚW_OKræ   rç   rè   ÚS_IWUSRré   )r%   r�   ÚstÚnew_permissionss   &&  r'   ru   ÚTemplateCommand.make_writeable�  sS   € ô
 �yŠy˜¤2§7¡7×+Ò+Ü—’˜Ó"ˆBÜ"Ÿlšl¨2¯:©:Ó6¼¿¹ÕEˆOÜ�HŠH�XÖ/ñ ,r*   )rJ   rI   rK   r/   )ÚhttpÚhttpsÚftp))z.py-tplz.pyr2   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úrequires_system_checksrá   rl   r(   r™   re   rL   r¢   rÄ   r£   r¡   rt   ru   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r'   r   r      s[   ø‡ € ñ	ð  Ðâ*€Kð!Ðò
(
ôTRIòh
ô4ò><ò|òò$*ò:÷0ð 0r*   r   )!r#   rÅ   rM   r×   rr   ræ   rÀ   Úimportlib.utilr   Úurllib.requestr   r`   Údjango.confr   Údjango.core.management.baser   r   Údjango.core.management.utilsr   r	   r
   Údjango.templater   r   Údjango.utilsr   Údjango.utils._osr   Údjango.utils.httpr   Údjango.utils.versionr   r   r;   r*   r'   Ú<module>r
     sR   ðÛ Û Û 	Û Û Û Û Ý $Ý 'ã Ý  ß A÷ñ ÷
 ,Ý  Ý &Ý 5Ý 1ô{0�kö {0r*   