o xäÁg<ã@s$ddlmZddlmZdd„ZdS)é)Úappsé)Ú RequestSitecCs*t d¡rddlm}|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_installedÚmodelsrÚobjectsÚ get_currentr)Úrequestr©r ú@/usr/lib/python3/dist-packages/django/contrib/sites/shortcuts.pyÚget_current_sites   r N)Ú django.appsrÚrequestsrr r r r r Ús