§
    ¤”jî  ã                   óR   — d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl	m
Z
 d	d„ZdS )
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)ÚstaticFc                 óŒ  — t           j        s	|st          ‚t          j        |¦  «                             d¦  «        }t          j        |¦  «        }|s<|                     d¦  «        s|dk    rt          d¦  «        ‚t          d|z  ¦  «        ‚t          j
                             |¦  «        \  }}t          j        | |fd|i|¤ŽS )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          úo/var/www/finuniver-perm.ru/html/portfolio/venv/lib/python3.11/site-packages/django/contrib/staticfiles/views.pyr   r      sÆ   € õ Œ>ð  (ð ÝˆÝÔ(¨Ñ.Ô.×5Ò5°cÑ:Ô:€OÝ”L Ñ1Ô1€MØð 8Ø�=Š=˜ÑÔð 	E ¨¢ ÝÐCÑDÔDÐDÝÐ/°$Ñ6Ñ7Ô7Ð7Ýœ'Ÿ-š-¨Ñ6Ô6Ñ€M�4ÝŒ<˜ ÐMÐM°]ÐMÀfÐMÐMÐMó    )F)Ú__doc__r   r   Údjango.confr   Údjango.contrib.staticfilesr   Údjango.httpr   Údjango.viewsr   r   © r   r   ú<module>r"      s’   ððð ð 
€	€	€	Ø Ð Ð Ð à  Ð  Ð  Ð  Ð  Ð  Ø .Ð .Ð .Ð .Ð .Ð .Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð ðNð Nð Nð Nð Nð Nr   