+
    Sj $                         R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RI	H
t
 ^ RIHt ^ RIHtHt RtRtRt ! R	 R
]4      t ! R R]4      t ! R R4      t ! R R4      t]! 4       tR# )z
Settings and configuration for Django.

Read values from the module specified by the DJANGO_SETTINGS_MODULE environment
variable, and then from django.conf.global_settings; see the global_settings.py
for a list of all possible variables.
N)Path)global_settings)ImproperlyConfigured)
LazyObjectemptyDJANGO_SETTINGS_MODULEdefaultstaticfilesc                   0   a  ] tR t^t o RtR tR tRtV tR# )SettingsReferencez
String subclass which references a current settings value. It's treated as
the value in memory but serializes to a settings.NAME attribute reference.
c                ,    \         P                  W4      # N)str__new__selfvaluesetting_names   &&&I/var/www/idalgo/venv/lib/python3.14/site-packages/django/conf/__init__.pyr   SettingsReference.__new__    s    {{4''    c                    W n         R # r   r   r   s   &&&r   __init__SettingsReference.__init__#   s    (r   r   N)	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classdictcell____classdict__s   @r   r   r      s     
() )r   r   c                      a a ] tR t^'t oRtRR ltR tR tV 3R ltV 3R lt	]
3R lt]R 4       t]R	 4       tR
 tRtVtV ;t# )LazySettingsz
A lazy proxy for either global Django settings or a custom settings object.
The user can manually configure settings prior to using them. Otherwise,
Django uses the settings module pointed to by DJANGO_SETTINGS_MODULE.
c                    \         P                  P                  \        4      pV'       g,   V'       d
   RV,          MRp\	        RV: R\        : R24      h\        V4      V n        R# )z
Load the settings module pointed to by the environment variable. This
is used the first time settings are needed, if the user hasn't
configured settings manually.
z
setting %ssettingsz
Requested zS, but settings are not configured. You must either define the environment variable z8 or call settings.configure() before accessing settings.N)osenvirongetENVIRONMENT_VARIABLEr   Settings_wrapped)r   namesettings_moduledescs   &&  r   _setupLazySettings._setup.   sP     **..)=>,0L4'jD& -/  !1r   c                l    V P                   \        J d   R # RRV P                   P                  /,          # )z<LazySettings [Unevaluated]>z$<LazySettings "%(settings_module)s">r/   )r-   r   SETTINGS_MODULEr   s   &r   __repr__LazySettings.__repr__@   s2    ==E!15t}}<<9
 
 	
r   c                   V P                   ;p\        J d   V P                  V4       V P                   p\        W!4      pVR9   d   Ve   V P	                  V4      pMVR8X  d   V'       g   \        R4      hW0P                  V&   V# )z<Return the value of a setting and cache it in self.__dict__.
SECRET_KEYz)The SECRET_KEY setting must not be empty.>   	MEDIA_URL
STATIC_URL)r-   r   r1   getattr_add_script_prefixr   __dict__)r   r.   r-   vals   &&  r   __getattr__LazySettings.__getattr__H   sx    %H%/KK}}Hh%
 ..3?))#.C\!#&'RSS!d
r   c                   < VR8X  d   V P                   P                  4        MV P                   P                  VR4       \        SV `  W4       R# )z
Set the value of setting. Clear all cached values if _wrapped changes
(@override_settings does this) or clear single values when set.
r-   N)r>   clearpopsuper__setattr__r   r.   r   	__class__s   &&&r   rF   LazySettings.__setattr__Z   s>    
 :MM!MMdD)D(r   c                ^   < \         SV `  V4       V P                  P                  VR4       R# )z3Delete a setting and clear it from cache if needed.N)rE   __delattr__r>   rD   r   r.   rH   s   &&r   rK   LazySettings.__delattr__e   s$    D!$%r   c                    V P                   \        Jd   \        R4      h\        V4      pVP	                  4        F9  w  rEVP                  4       '       g   \        RV,          4      h\        W4V4       K;  	  W0n         R# )z
Called to manually configure the settings. The 'default_settings'
parameter sets where to retrieve any unspecified values from (its
argument must support attribute access (__getattr__)).
zSettings already configured.zSetting %r must be uppercase.N)r-   r   RuntimeErrorUserSettingsHolderitemsisupper	TypeErrorsetattr)r   default_settingsoptionsholderr.   r   s   &&,   r   	configureLazySettings.configurej   sf     ==%=>>#$45"==?KD<<>> ?$ FGGF%( + r   c                Z    V P                  R4      '       d   V # ^ RIHp V! 4       : V : 2# )z
Add SCRIPT_NAME prefix to relative paths.

Useful when the app is being served at a subpath and manually prefixing
subpath to STATIC_URL and MEDIA_URL in settings is inconvenient.
)get_script_prefix)zhttp://zhttps:///)
startswithdjango.urlsr[   )r   r[   s   & r   r=   LazySettings._add_script_prefixy   s,     899L1*,e44r   c                &    V P                   \        J# )z9Return True if the settings have already been configured.)r-   r   r5   s   &r   
configuredLazySettings.configured   s     }}E))r   c                   \         P                  ! 4       pVR,          w  p  pVP                  \        P                  P                  \        P                  4      4      '       g   \        P                  ! W^R7       R# R# )   )
stacklevelN)
	tracebackextract_stackr]   r(   pathdirnamedjango__file__warningswarn)r   messagecategorystackfilename_s   &&&   r   _show_deprecation_warning&LazySettings._show_deprecation_warning   sZ    '') ""I!Q""277??6??#CDDMM': Er   )r-   r   )r   r   r   r   r   r1   r6   r@   rF   rK   r   rX   staticmethodr=   propertyra   rt   r    r!   __classcell__rH   r#   s   @@r   r%   r%   '   s_     2$
$	)&
 *9  5 5 * *; ;r   r%   c                   2   a  ] tR t^t o R tR tR tRtV tR# )r,   c           	        \        \        4       F5  pVP                  4       '       g   K  \        W\	        \        V4      4       K7  	  Wn        \        P                  ! V P
                  4      pRp\        4       V n	        \        V4       F  pVP                  4       '       g   K  \	        W24      pW$9   d/   \        V\        \        34      '       g   \        RV,          4      h\        WV4       V P                  P                  V4       K  	  \        \         R4      '       d   V P"                  '       d   \%        R4      pVP&                  ! V P"                  P)                  R4      !  pVP+                  4       '       d3   VP+                  4       '       g   \-        RV P"                  ,          4      hV P"                  \.        P0                  R&   \         P2                  ! 4        R# R# R# )	ALLOWED_HOSTSz)The %s setting must be a list or a tuple.tzsetz/usr/share/zoneinfor\   zIncorrect timezone setting: %sTZN)r|   INSTALLED_APPSTEMPLATE_DIRSLOCALE_PATHSSECRET_KEY_FALLBACKS)dirr   rR   rT   r<   r4   	importlibimport_moduleset_explicit_settings
isinstancelisttupler   addhasattrtime	TIME_ZONEr   joinpathsplitexists
ValueErrorr(   r)   r}   )r   r/   settingmodtuple_settingssetting_valuezoneinfo_rootzone_info_files   &&      r   r   Settings.__init__   ss    ?+G  w'HI ,
  /%%d&:&:;
 #&%3xG   ' 5,Z!D%=6 6 /CgM  }5''++G4   4!!dnnn !!67M*33T^^5I5I#5NON##%%n.C.C.E.E !ADNN!RSS  $~~BJJtJJL '5!r   c                    WP                   9   # r   )r   )r   r   s   &&r   is_overriddenSettings.is_overridden   s    1111r   c                X    R RV P                   P                  RV P                  /,          # )z<%(cls)s "%(settings_module)s">clsr/   )rH   r   r4   r5   s   &r   r6   Settings.__repr__   s.    04>>**t334
 
 	
r   )r4   r   N)	r   r   r   r   r   r   r6   r    r!   r"   s   @r   r,   r,      s     +Z2
 
r   r,   c                   d   a a ] tR t^t oRtRtR tR tV 3R ltV 3R lt	R t
R tR	 tR
tVtV ;t# )rP   z$Holder for user configured settings.Nc                @    \        4       V P                  R&   Wn        R# )z
Requests for configuration variables not in this class are satisfied
from the module specified in default_settings (if possible).
_deletedN)r   r>   rU   )r   rU   s   &&r   r   UserSettingsHolder.__init__   s    
 %(Ej! 0r   c                    VP                  4       '       d   WP                  9   d   \        h\        V P                  V4      # r   )rR   r   AttributeErrorr<   rU   )r   r.   s   &&r   r@   UserSettingsHolder.__getattr__   s/    ||~~!6  t,,d33r   c                \   < V P                   P                  V4       \        SV `  W4       R # r   )r   discardrE   rF   rG   s   &&&r   rF   UserSettingsHolder.__setattr__   s"    d#D(r   c                   < V P                   P                  V4       \        W4      '       d   \        SV `  V4       R # R # r   )r   r   r   rE   rK   rL   s   &&r   rK   UserSettingsHolder.__delattr__   s2    $4G% r   c                p   a  \        V 3R  l. S P                  O\        S P                  4      O 4       4      # )c              3   N   <"   T F  pVSP                   9  g   K  Vx  K  	  R # 5ir   )r   ).0sr   s   & r   	<genexpr>-UserSettingsHolder.__dir__.<locals>.<genexpr>   s&      
B% ABs   %
%)sortedr>   r   rU   r5   s   fr   __dir__UserSettingsHolder.__dir__   s6     
Bt}}Bs4+@+@'AB
 
 	
r   c                    WP                   9   pWP                  9   p\        V P                  R R 4      ! V4      pT;'       g    T;'       g    T# )r   c                     R # )F )r   s   &r   <lambda>2UserSettingsHolder.is_overridden.<locals>.<lambda>   s    er   )r   r>   r<   rU   )r   r   deletedset_locallyset_on_defaults   &&   r   r    UserSettingsHolder.is_overridden   sQ    ]]*. !!?O

 77+777r   c                @    R RV P                   P                  /,          # )z	<%(cls)s>r   )rH   r   r5   s   &r   r6   UserSettingsHolder.__repr__   s#    4>>**
 
 	
r   )rU   )r   r   r   r   r   r4   r   r@   rF   rK   r   r   r6   r    r!   rx   ry   s   @@r   rP   rP      s7     . O14
)&

8
 
r   rP   )r   r   r(   r   rg   rm   pathlibr   rk   django.confr   django.core.exceptionsr   django.utils.functionalr   r   r+   DEFAULT_STORAGE_ALIASSTATICFILES_STORAGE_ALIASr   r   r%   r,   rP   r'   r   r   r   <module>r      sv     	      ' 7 5/ ! ) 
) 
)m;: m;`5
 5
p/
 /
d >r   