a
    ÛEbG  ã                   @   s   d dl mZ dd„ ZdS )é    )Úappsc                 C   s:   t  d¡r"ddlm} |j | ¡S ddlm} || ƒS dS )z‘
    Check if contrib.sites is installed and return either the current
    ``Site`` object or a ``RequestSite`` object based on the request.
    zdjango.contrib.sitesé   )ÚSite)ÚRequestSiteN)r   Úis_installedÚmodelsr   ÚobjectsZget_currentÚrequestsr   )Úrequestr   r   © r   ú^/home/ja/django-apps/lartica_env/lib/python3.9/site-packages/django/contrib/sites/shortcuts.pyÚget_current_site   s
    
r   N)Zdjango.appsr   r   r   r   r   r   Ú<module>   s   