î
?[Yp  ã               @   s0   d  d l  m Z d  d l m Z d d „  Z d S)é    )Úunicode_literals)Úappsc             C   sM   t  j d ƒ r/ d d l m } | j j |  ƒ Sd d l m } | |  ƒ Sd S)z“
    Checks if contrib.sites is installed and returns either the current
    ``Site`` object or a ``RequestSite`` object based on the request.
    zdjango.contrib.sitesé   )ÚSite)ÚRequestSiteN)r   Zis_installedÚmodelsr   ZobjectsZget_currentÚrequestsr   )Úrequestr   r   © r
   úM/home/kubikplay/www/django_dtb/build/Django/django/contrib/sites/shortcuts.pyÚget_current_site   s
    r   N)Ú
__future__r   Zdjango.appsr   r   r
   r
   r
   r   Ú<module>   s   