Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Dynamic settings.SITE_ID replacement, which acts like an integer.

django.contrib.sites can allow multiple Django sites to share the
same database. However, they cannot share the same code by

SiteID can be used to replace the static settings.SITE_ID integer
when combined with the appropriate middleware.

src/d/j/django-multisite-0.3.1/multisite/__init__.py   django-multisite(Download)
from .threadlocals import SiteDomain, SiteID