OwlCyberSecurity - MANAGER
Edit File: static.cpython-39.pyc
a ���e� � @ s� d Z ddlZddlZddlmZ ddlmZmZmZm Z ddl mZmZm Z mZ ddlmZ ddlmZmZ ddlmZ dd lmZ ddd�Zd Zed�Zdd� Zddd�ZdS )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)�Path)�FileResponse�Http404�HttpResponse�HttpResponseNotModified)�Context�Engine�TemplateDoesNotExist�loader)� safe_join)� http_date�parse_http_date)�gettext)�gettext_lazyFc C s� t �|��d�}tt||��}|�� r@|r4t||�S ttd���|� � s\ttd�d|i ��|� � }t| j� d�|j�s~t� S t�t|��\}}|p�d}t|�d�|d�}t|j�|jd <