o
    Mf                     @   s   G d d dZ dS )c                   @   s2   e Zd ZdZdd Zdd ZdddZd	d
 ZdS )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                 C   s   |   | _| _d S N)get_hostdomainname)selfrequest r   _/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/django/contrib/sites/requests.py__init__	   s   zRequestSite.__init__c                 C   s   | j S r   )r   r   r   r   r	   __str__   s   zRequestSite.__str__Fc                 C      t d)NzRequestSite cannot be saved.NotImplementedError)r   force_insertforce_updater   r   r	   save      zRequestSite.savec                 C   r   )NzRequestSite cannot be deleted.r   r   r   r   r	   delete   r   zRequestSite.deleteN)FF)__name__
__module____qualname____doc__r
   r   r   r   r   r   r   r	   r      s    
r   N)r   r   r   r   r	   <module>   s    