Ë
    ¹2Úi©  ã                   óB   — d Z ddlmZ ddlmZ ddlmZ  G d„ de«      Zy)zStream files from storage.é    )ÚDefaultStorage)ÚStorageFile)ÚPathDownloadViewc                   ó:   ‡ — e Zd ZdZ e«       ZdZˆ fd„Zd„ Zˆ xZ	S )ÚStorageDownloadViewz(Serve a file using storage and filename.Nc                 ó(   •— t         t        | �  «       S )zÒReturn path of the file to serve, relative to storage.

        Default implementation simply returns view's :py:attr:`path` attribute.

        Override this method if you want custom implementation.

        )Úsuperr   Úget_path)ÚselfÚ	__class__s    €úX/var/www/html/acx/venv/lib/python3.12/site-packages/django_downloadview/views/storage.pyr
   zStorageDownloadView.get_path   s   ø€ ô Ô(¨$Ñ8Ó:Ð:ó    c                 óJ   — t        | j                  | j                  «       «      S )z@Return :class:`~django_downloadview.files.StorageFile` instance.)r   Ústorager
   )r   s    r   Úget_filezStorageDownloadView.get_file   s   € ä˜4Ÿ<™<¨¯©«Ó9Ð9r   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Úpathr
   r   Ú__classcell__)r   s   @r   r   r      s!   ø„ Ù2ñ Ó€Gð €Dô;ö:r   r   N)r   Údjango.core.files.storager   Údjango_downloadview.filesr   Údjango_downloadview.views.pathr   r   © r   r   ú<module>r      s   ðÙ  Ý 4å 1Ý ;ô:Ð*õ :r   