I have a problem that is recovering the domain of the site that is currently active, I need to recover it in settings to pass a configuration of a project that I am doing and since I can not use
from django.contrib.sites.models import get_current_site
or something like settings, is there any way to get the domain here?