| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/contrib/sites/__pycache__/ |
Upload File : |
�
�|�e� � � � G d � d� � Z dS )c �, � e Zd ZdZd� Zd� Zdd�Zd� ZdS ) �RequestSitez�
A class that shares the primary interface of Site (i.e., it has ``domain``
and ``name`` attributes) but gets its data from an HttpRequest object
rather than from a database.
The save() and delete() methods raise NotImplementedError.
c �F � |� � � x| _ | _ d S �N)�get_host�domain�name)�self�requests �?/usr/lib/python3/dist-packages/django/contrib/sites/requests.py�__init__zRequestSite.__init__ s � �")�"2�"2�"4�"4�4���d�i�i�i� c � � | j S r )r �r s r �__str__zRequestSite.__str__ s
� ��{�r
Fc � � t d� � �)NzRequestSite cannot be saved.��NotImplementedError)r �force_insert�force_updates r �savezRequestSite.save s � �!�"@�A�A�Ar
c � � t d� � �)NzRequestSite cannot be deleted.r r s r �deletezRequestSite.delete s � �!�"B�C�C�Cr
N)FF)�__name__�
__module__�__qualname__�__doc__r r r r � r
r r r sh � � � � � �� �5� 5� 5�� � �B� B� B� B�D� D� D� D� Dr
r N)r r r
r �<module>r sA ��D� D� D� D� D� D� D� D� D� Dr