django admin get current value code example
Example: get current site django
from django.contrib.sites.shortcuts import get_current_site
domain = get_current_site(request).domain
from django.contrib.sites.shortcuts import get_current_site
domain = get_current_site(request).domain