
    h                     R    S r SSKrSSKrSSKJr  SSKJr  SSKJr  SSK	J
r
  SS jrg)	z
Views and functions for serving static files. These are only to be used during
development, and SHOULD NOT be used in a production setting.

    N)settings)finders)Http404)staticc                    [         R                  (       d  U(       d  [        e[        R                  " U5      R                  S5      n[        R                  " U5      nU(       d5  UR                  S5      (       d  US:X  a  [        S5      e[        SU-  5      e[        R                  R                  U5      u  pa[        R                  " X4SU0UD6$ )aS  
Serve static files below a given point in the directory structure or
from locations inferred from the staticfiles finders.

To use, put a URL pattern such as::

    from django.contrib.staticfiles import views

    path('<path:path>', views.serve)

in your URLconf.

It uses the django.views.static.serve() view to serve the found files.
/ z'Directory indexes are not allowed here.z'%s' could not be founddocument_root)r   DEBUGr   	posixpathnormpathlstripr   findendswithospathsplitr   serve)requestr   insecurekwargsnormalized_pathabsolute_pathr
   s          R/var/www/html/env/lib/python3.13/site-packages/django/contrib/staticfiles/views.pyr   r      s     >>(((.55c:OLL1M==CDD/$677''--6M<<M]MfMM    )F)__doc__r   r   django.confr   django.contrib.staticfilesr   django.httpr   django.viewsr   r    r   r   <module>r"      s$    
    .  Nr   