o Ih<@s$ddlmZddlmZddZdS))apps) RequestSitecCs*tdrddlm}|j|St|S)z Check if contrib.sites is installed and return either the current ``Site`` object or a ``RequestSite`` object based on the request. zdjango.contrib.sitesr)Site)r is_installedmodelsrobjects get_currentr)requestrr @/usr/lib/python3/dist-packages/django/contrib/sites/shortcuts.pyget_current_sites   r N) django.appsrrequestsrr r r r r s